Open CASCADE Technology 6.6.0
Public Member Functions
IntPatch_RLine Class Reference

Implementation of an intersection line described by a
restriction line on one of the surfaces.

#include <IntPatch_RLine.hxx>

Inheritance diagram for IntPatch_RLine:
Inheritance graph
[legend]

Public Member Functions

 IntPatch_RLine (const Standard_Boolean Tang, const IntSurf_TypeTrans Trans1, const IntSurf_TypeTrans Trans2)
 Creates a restriction as an intersection line
when the transitions are In or Out.

 IntPatch_RLine (const Standard_Boolean Tang, const IntSurf_Situation Situ1, const IntSurf_Situation Situ2)
 Creates a restriction as an intersection line
when the transitions are Touch.

 IntPatch_RLine (const Standard_Boolean Tang)
 Creates a restriction as an intersection line
when the transitions are Undecided.

void AddVertex (const IntPatch_Point &Pnt)
 To add a vertex in the list.

void Replace (const Standard_Integer Index, const IntPatch_Point &Pnt)
 Replaces the element of range Index in the list
of points.

void SetFirstPoint (const Standard_Integer IndFirst)
void SetLastPoint (const Standard_Integer IndLast)
void Add (const Handle< IntSurf_LineOn2S > &L)
Standard_Boolean IsArcOnS1 () const
 Returns True if the intersection is on the domain of the
first patch.
Returns False if the intersection is on the domain of
the second patch.

Standard_Boolean IsArcOnS2 () const
 Returns True if the intersection is on the domain of the
first patch.
Returns False if the intersection is on the domain of
the second patch.

void SetArcOnS1 (const Handle< Adaptor2d_HCurve2d > &A)
void SetArcOnS2 (const Handle< Adaptor2d_HCurve2d > &A)
void SetParamOnS1 (const Standard_Real p1, const Standard_Real p2)
void SetParamOnS2 (Standard_Real &p1, Standard_Real &p2)
const Handle_Adaptor2d_HCurve2d & ArcOnS1 () const
 Returns the concerned arc.

const Handle_Adaptor2d_HCurve2d & ArcOnS2 () const
 Returns the concerned arc.

void ParamOnS1 (Standard_Real &p1, Standard_Real &p2) const
void ParamOnS2 (Standard_Real &p1, Standard_Real &p2) const
Standard_Boolean HasFirstPoint () const
 Returns True if the line has a known First point.
This point is given by the method FirstPoint().

Standard_Boolean HasLastPoint () const
 Returns True if the line has a known Last point.
This point is given by the method LastPoint().

const IntPatch_PointFirstPoint () const
 Returns the IntPoint corresponding to the FirstPoint.
An exception is raised when HasFirstPoint returns False.

const IntPatch_PointLastPoint () const
 Returns the IntPoint corresponding to the LastPoint.
An exception is raised when HasLastPoint returns False.

Standard_Integer NbVertex () const
const IntPatch_PointVertex (const Standard_Integer Index) const
 Returns the vertex of range Index on the line.

Standard_Boolean HasPolygon () const
Standard_Integer NbPnts () const
 Returns the number of intersection points.

const IntSurf_PntOn2SPoint (const Standard_Integer Index) const
 Returns the intersection point of range Index.

void SetPoint (const Standard_Integer Index, const IntPatch_Point &Pnt)
 Set the Point of index <Index> in the LineOn2S

void ComputeVertexParameters (const Standard_Real Tol)
 Set the parameters of all the vertex on the line.
if a vertex is already in the line,
its parameter is modified
else a new point in the line is inserted.


Constructor & Destructor Documentation

IntPatch_RLine::IntPatch_RLine ( const Standard_Boolean  Tang,
const IntSurf_TypeTrans  Trans1,
const IntSurf_TypeTrans  Trans2 
)
IntPatch_RLine::IntPatch_RLine ( const Standard_Boolean  Tang,
const IntSurf_Situation  Situ1,
const IntSurf_Situation  Situ2 
)
IntPatch_RLine::IntPatch_RLine ( const Standard_Boolean  Tang)

Member Function Documentation

void IntPatch_RLine::Add ( const Handle< IntSurf_LineOn2S > &  L)
void IntPatch_RLine::AddVertex ( const IntPatch_Point Pnt)
const Handle_Adaptor2d_HCurve2d& IntPatch_RLine::ArcOnS1 ( ) const
const Handle_Adaptor2d_HCurve2d& IntPatch_RLine::ArcOnS2 ( ) const
void IntPatch_RLine::ComputeVertexParameters ( const Standard_Real  Tol)
const IntPatch_Point& IntPatch_RLine::FirstPoint ( ) const
Standard_Boolean IntPatch_RLine::HasFirstPoint ( ) const
Standard_Boolean IntPatch_RLine::HasLastPoint ( ) const
Standard_Boolean IntPatch_RLine::HasPolygon ( ) const
Standard_Boolean IntPatch_RLine::IsArcOnS1 ( ) const
Standard_Boolean IntPatch_RLine::IsArcOnS2 ( ) const
const IntPatch_Point& IntPatch_RLine::LastPoint ( ) const
Standard_Integer IntPatch_RLine::NbPnts ( ) const
Standard_Integer IntPatch_RLine::NbVertex ( ) const
void IntPatch_RLine::ParamOnS1 ( Standard_Real p1,
Standard_Real p2 
) const
void IntPatch_RLine::ParamOnS2 ( Standard_Real p1,
Standard_Real p2 
) const
const IntSurf_PntOn2S& IntPatch_RLine::Point ( const Standard_Integer  Index) const
void IntPatch_RLine::Replace ( const Standard_Integer  Index,
const IntPatch_Point Pnt 
)
void IntPatch_RLine::SetArcOnS1 ( const Handle< Adaptor2d_HCurve2d > &  A)
void IntPatch_RLine::SetArcOnS2 ( const Handle< Adaptor2d_HCurve2d > &  A)
void IntPatch_RLine::SetFirstPoint ( const Standard_Integer  IndFirst)
void IntPatch_RLine::SetLastPoint ( const Standard_Integer  IndLast)
void IntPatch_RLine::SetParamOnS1 ( const Standard_Real  p1,
const Standard_Real  p2 
)
void IntPatch_RLine::SetParamOnS2 ( Standard_Real p1,
Standard_Real p2 
)
void IntPatch_RLine::SetPoint ( const Standard_Integer  Index,
const IntPatch_Point Pnt 
)
const IntPatch_Point& IntPatch_RLine::Vertex ( const Standard_Integer  Index) const

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines