Open CASCADE Technology 6.6.0
Public Member Functions
IntPatch_GLine Class Reference

Implementation of an intersection line represented
by a conic.

#include <IntPatch_GLine.hxx>

Inheritance diagram for IntPatch_GLine:
Inheritance graph
[legend]

Public Member Functions

 IntPatch_GLine (const gp_Lin &L, const Standard_Boolean Tang, const IntSurf_TypeTrans Trans1, const IntSurf_TypeTrans Trans2)
 Creates a Line as intersection line
when the transitions are In or Out.

 IntPatch_GLine (const gp_Lin &L, const Standard_Boolean Tang, const IntSurf_Situation Situ1, const IntSurf_Situation Situ2)
 Creates a Line as intersection line
when the transitions are Touch.

 IntPatch_GLine (const gp_Lin &L, const Standard_Boolean Tang)
 Creates a Line as intersection line
when the transitions are Undecided.

 IntPatch_GLine (const gp_Circ &C, const Standard_Boolean Tang, const IntSurf_TypeTrans Trans1, const IntSurf_TypeTrans Trans2)
 Creates a circle as intersection line
when the transitions are In or Out.

 IntPatch_GLine (const gp_Circ &C, const Standard_Boolean Tang, const IntSurf_Situation Situ1, const IntSurf_Situation Situ2)
 Creates a circle as intersection line
when the transitions are Touch.

 IntPatch_GLine (const gp_Circ &C, const Standard_Boolean Tang)
 Creates a circle as intersection line
when the transitions are Undecided.

 IntPatch_GLine (const gp_Elips &E, const Standard_Boolean Tang, const IntSurf_TypeTrans Trans1, const IntSurf_TypeTrans Trans2)
 Creates an ellipse as intersection line
when the transitions are In or Out.

 IntPatch_GLine (const gp_Elips &E, const Standard_Boolean Tang, const IntSurf_Situation Situ1, const IntSurf_Situation Situ2)
 Creates an ellispe as intersection line
when the transitions are Touch.

 IntPatch_GLine (const gp_Elips &E, const Standard_Boolean Tang)
 Creates an ellipse as intersection line
when the transitions are Undecided.

 IntPatch_GLine (const gp_Parab &P, const Standard_Boolean Tang, const IntSurf_TypeTrans Trans1, const IntSurf_TypeTrans Trans2)
 Creates a parabola as intersection line
when the transitions are In or Out.

 IntPatch_GLine (const gp_Parab &P, const Standard_Boolean Tang, const IntSurf_Situation Situ1, const IntSurf_Situation Situ2)
 Creates a parabola as intersection line
when the transitions are Touch.

 IntPatch_GLine (const gp_Parab &P, const Standard_Boolean Tang)
 Creates a parabola as intersection line
when the transitions are Undecided.

 IntPatch_GLine (const gp_Hypr &H, const Standard_Boolean Tang, const IntSurf_TypeTrans Trans1, const IntSurf_TypeTrans Trans2)
 Creates an hyperbola as intersection line
when the transitions are In or Out.

 IntPatch_GLine (const gp_Hypr &H, const Standard_Boolean Tang, const IntSurf_Situation Situ1, const IntSurf_Situation Situ2)
 Creates an hyperbola as intersection line
when the transitions are Touch.

 IntPatch_GLine (const gp_Hypr &H, const Standard_Boolean Tang)
 Creates an hyperbola as 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)
 To replace the element of range Index in the list
of points.

void SetFirstPoint (const Standard_Integer IndFirst)
void SetLastPoint (const Standard_Integer IndLast)
gp_Lin Line () const
 Returns the Lin from gp corresponding to the intersection
when ArcType returns IntPatch_Line.

gp_Circ Circle () const
 Returns the Circ from gp corrsponding to the intersection
when ArcType returns IntPatch_Circle.

gp_Elips Ellipse () const
 Returns the Elips from gp corrsponding to the intersection
when ArcType returns IntPatch_Ellipse.

gp_Parab Parabola () const
 Returns the Parab from gp corrsponding to the intersection
when ArcType returns IntPatch_Parabola.

gp_Hypr Hyperbola () const
 Returns the Hypr from gp corrsponding to the intersection
when ArcType returns IntPatch_Hyperbola.

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.

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_GLine::IntPatch_GLine ( const gp_Lin L,
const Standard_Boolean  Tang,
const IntSurf_TypeTrans  Trans1,
const IntSurf_TypeTrans  Trans2 
)
IntPatch_GLine::IntPatch_GLine ( const gp_Lin L,
const Standard_Boolean  Tang,
const IntSurf_Situation  Situ1,
const IntSurf_Situation  Situ2 
)
IntPatch_GLine::IntPatch_GLine ( const gp_Lin L,
const Standard_Boolean  Tang 
)
IntPatch_GLine::IntPatch_GLine ( const gp_Circ C,
const Standard_Boolean  Tang,
const IntSurf_TypeTrans  Trans1,
const IntSurf_TypeTrans  Trans2 
)
IntPatch_GLine::IntPatch_GLine ( const gp_Circ C,
const Standard_Boolean  Tang,
const IntSurf_Situation  Situ1,
const IntSurf_Situation  Situ2 
)
IntPatch_GLine::IntPatch_GLine ( const gp_Circ C,
const Standard_Boolean  Tang 
)
IntPatch_GLine::IntPatch_GLine ( const gp_Elips E,
const Standard_Boolean  Tang,
const IntSurf_TypeTrans  Trans1,
const IntSurf_TypeTrans  Trans2 
)
IntPatch_GLine::IntPatch_GLine ( const gp_Elips E,
const Standard_Boolean  Tang,
const IntSurf_Situation  Situ1,
const IntSurf_Situation  Situ2 
)
IntPatch_GLine::IntPatch_GLine ( const gp_Elips E,
const Standard_Boolean  Tang 
)
IntPatch_GLine::IntPatch_GLine ( const gp_Parab P,
const Standard_Boolean  Tang,
const IntSurf_TypeTrans  Trans1,
const IntSurf_TypeTrans  Trans2 
)
IntPatch_GLine::IntPatch_GLine ( const gp_Parab P,
const Standard_Boolean  Tang,
const IntSurf_Situation  Situ1,
const IntSurf_Situation  Situ2 
)
IntPatch_GLine::IntPatch_GLine ( const gp_Parab P,
const Standard_Boolean  Tang 
)
IntPatch_GLine::IntPatch_GLine ( const gp_Hypr H,
const Standard_Boolean  Tang,
const IntSurf_TypeTrans  Trans1,
const IntSurf_TypeTrans  Trans2 
)
IntPatch_GLine::IntPatch_GLine ( const gp_Hypr H,
const Standard_Boolean  Tang,
const IntSurf_Situation  Situ1,
const IntSurf_Situation  Situ2 
)
IntPatch_GLine::IntPatch_GLine ( const gp_Hypr H,
const Standard_Boolean  Tang 
)

Member Function Documentation

void IntPatch_GLine::AddVertex ( const IntPatch_Point Pnt)
gp_Circ IntPatch_GLine::Circle ( ) const
void IntPatch_GLine::ComputeVertexParameters ( const Standard_Real  Tol)
gp_Elips IntPatch_GLine::Ellipse ( ) const
const IntPatch_Point& IntPatch_GLine::FirstPoint ( ) const
Standard_Boolean IntPatch_GLine::HasFirstPoint ( ) const
Standard_Boolean IntPatch_GLine::HasLastPoint ( ) const
gp_Hypr IntPatch_GLine::Hyperbola ( ) const
const IntPatch_Point& IntPatch_GLine::LastPoint ( ) const
gp_Lin IntPatch_GLine::Line ( ) const
Standard_Integer IntPatch_GLine::NbVertex ( ) const
gp_Parab IntPatch_GLine::Parabola ( ) const
void IntPatch_GLine::Replace ( const Standard_Integer  Index,
const IntPatch_Point Pnt 
)
void IntPatch_GLine::SetFirstPoint ( const Standard_Integer  IndFirst)
void IntPatch_GLine::SetLastPoint ( const Standard_Integer  IndLast)
const IntPatch_Point& IntPatch_GLine::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