OCC Main Page | ModelingAlgorithms | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

ModelingAlgorithms
TKGeomAlgo
IntRes2d


IntRes2d_IntersectionSegment Class Reference

Definition of an intersection curve between
two 2D curves.
.

#include <IntRes2d_IntersectionSegment.hxx>


Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
Standard_EXPORT IntRes2d_IntersectionSegment ()
 Empty constructor.
.
 IntRes2d_IntersectionSegment (const IntRes2d_IntersectionPoint &P1, const IntRes2d_IntersectionPoint &P2, const Standard_Boolean Oppos, const Standard_Boolean ReverseFlag)
 IntRes2d_IntersectionSegment (const IntRes2d_IntersectionPoint &P, const Standard_Boolean First, const Standard_Boolean Oppos, const Standard_Boolean ReverseFlag)
 IntRes2d_IntersectionSegment (const Standard_Boolean Oppos)
 Creates an infinite segment of intersection.
.
Standard_Boolean IsOpposite () const
 Returns TRUE if the intersection segment has got
the same orientation on both curves.
.
Standard_Boolean HasFirstPoint () const
 Returns True if the segment is limited by a first
point. This point defines the lowest parameter
admitted on the first curve for the segment. If
IsOpposite returns False, it defines the lowest
parameter on the second curve, otherwise, it is
the highest parameter on the second curve.
.
const IntRes2d_IntersectionPointFirstPoint () const
 Returns the first point of the segment as an
IntersectionPoint (with a transition). The
exception DomainError is raised if HasFirstPoint
returns False.
.
Standard_Boolean HasLastPoint () const
 Returns True if the segment is limited by a last
point. This point defines the highest parameter
admitted on the first curve for the segment. If
IsOpposite returns False, it defines the highest
parameter on the second curve, otherwise, it is
the lowest parameter on the second curve.
.
const IntRes2d_IntersectionPointLastPoint () const
 Returns the last point of the segment as an
IntersectionPoint (with a transition). The
exception DomainError is raised if
HasLastExtremity returns False.
.
Standard_Boolean _CSFDB_GetIntRes2d_IntersectionSegmentoppos () const
void _CSFDB_SetIntRes2d_IntersectionSegmentoppos (const Standard_Boolean p)
Standard_Boolean _CSFDB_GetIntRes2d_IntersectionSegmentfirst () const
void _CSFDB_SetIntRes2d_IntersectionSegmentfirst (const Standard_Boolean p)
Standard_Boolean _CSFDB_GetIntRes2d_IntersectionSegmentlast () const
void _CSFDB_SetIntRes2d_IntersectionSegmentlast (const Standard_Boolean p)
const IntRes2d_IntersectionPoint_CSFDB_GetIntRes2d_IntersectionSegmentptfirst () const
const IntRes2d_IntersectionPoint_CSFDB_GetIntRes2d_IntersectionSegmentptlast () const

Private Attributes

Standard_Boolean oppos
Standard_Boolean first
Standard_Boolean last
IntRes2d_IntersectionPoint ptfirst
IntRes2d_IntersectionPoint ptlast

Friends

Standard_EXPORT friend Handle_Standard_Type & IntRes2d_IntersectionSegment_Type_ ()


Constructor & Destructor Documentation

Standard_EXPORT IntRes2d_IntersectionSegment::IntRes2d_IntersectionSegment  ) 
 

IntRes2d_IntersectionSegment::IntRes2d_IntersectionSegment const IntRes2d_IntersectionPoint P1,
const IntRes2d_IntersectionPoint P2,
const Standard_Boolean  Oppos,
const Standard_Boolean  ReverseFlag
[inline]
 

IntRes2d_IntersectionSegment::IntRes2d_IntersectionSegment const IntRes2d_IntersectionPoint P,
const Standard_Boolean  First,
const Standard_Boolean  Oppos,
const Standard_Boolean  ReverseFlag
[inline]
 

IntRes2d_IntersectionSegment::IntRes2d_IntersectionSegment const Standard_Boolean  Oppos  )  [inline]
 


Member Function Documentation

Standard_Boolean IntRes2d_IntersectionSegment::_CSFDB_GetIntRes2d_IntersectionSegmentfirst  )  const [inline]
 

Standard_Boolean IntRes2d_IntersectionSegment::_CSFDB_GetIntRes2d_IntersectionSegmentlast  )  const [inline]
 

Standard_Boolean IntRes2d_IntersectionSegment::_CSFDB_GetIntRes2d_IntersectionSegmentoppos  )  const [inline]
 

const IntRes2d_IntersectionPoint& IntRes2d_IntersectionSegment::_CSFDB_GetIntRes2d_IntersectionSegmentptfirst  )  const [inline]
 

const IntRes2d_IntersectionPoint& IntRes2d_IntersectionSegment::_CSFDB_GetIntRes2d_IntersectionSegmentptlast  )  const [inline]
 

void IntRes2d_IntersectionSegment::_CSFDB_SetIntRes2d_IntersectionSegmentfirst const Standard_Boolean  p  )  [inline]
 

void IntRes2d_IntersectionSegment::_CSFDB_SetIntRes2d_IntersectionSegmentlast const Standard_Boolean  p  )  [inline]
 

void IntRes2d_IntersectionSegment::_CSFDB_SetIntRes2d_IntersectionSegmentoppos const Standard_Boolean  p  )  [inline]
 

const IntRes2d_IntersectionPoint & IntRes2d_IntersectionSegment::FirstPoint  )  const [inline]
 

Standard_Boolean IntRes2d_IntersectionSegment::HasFirstPoint  )  const [inline]
 

Standard_Boolean IntRes2d_IntersectionSegment::HasLastPoint  )  const [inline]
 

Standard_Boolean IntRes2d_IntersectionSegment::IsOpposite  )  const [inline]
 

const IntRes2d_IntersectionPoint & IntRes2d_IntersectionSegment::LastPoint  )  const [inline]
 

void IntRes2d_IntersectionSegment::operator delete void *  anAddress  )  [inline]
 

void* IntRes2d_IntersectionSegment::operator new size_t  size  )  [inline]
 

void* IntRes2d_IntersectionSegment::operator new size_t  ,
void *  anAddress
[inline]
 


Friends And Related Function Documentation

Standard_EXPORT friend Handle_Standard_Type& IntRes2d_IntersectionSegment_Type_  )  [friend]
 


Field Documentation

Standard_Boolean IntRes2d_IntersectionSegment::first [private]
 

Standard_Boolean IntRes2d_IntersectionSegment::last [private]
 

Standard_Boolean IntRes2d_IntersectionSegment::oppos [private]
 

IntRes2d_IntersectionPoint IntRes2d_IntersectionSegment::ptfirst [private]
 

IntRes2d_IntersectionPoint IntRes2d_IntersectionSegment::ptlast [private]
 


The documentation for this class was generated from the following files:
Generated on Mon Aug 25 13:42:18 2008 for OpenCASCADE by  doxygen 1.4.1