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

ModelingAlgorithms
TKGeomAlgo
IntRes2d


IntRes2d_Intersection Class Reference

Defines the root class of all the Intersections
between two 2D-Curves, and provides all the methods
about the results of the Intersections Algorithms.
.

#include <IntRes2d_Intersection.hxx>

Inheritance diagram for IntRes2d_Intersection:

Inheritance graph
[legend]

Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
Standard_Boolean IsDone () const
 returns TRUE when the computation was successful.

Standard_Boolean IsEmpty () const
 Returns TRUE if there is no intersection between the
given arguments.
The exception NotDone is raised if IsDone returns FALSE.
.
Standard_Integer NbPoints () const
 This function returns the number of intersection
points between the 2 curves.
The exception NotDone is raised if IsDone returns FALSE.
.
const IntRes2d_IntersectionPointPoint (const Standard_Integer N) const
 This function returns the intersection point
of range N;
The exception NotDone is raised if IsDone returns FALSE.
The exception OutOfRange is raised if (N <= 0)
or (N > NbPoints).
.
Standard_Integer NbSegments () const
 This function returns the number of intersection
segments between the two curves.
The exception NotDone is raised if IsDone returns FALSE.
.
const IntRes2d_IntersectionSegmentSegment (const Standard_Integer N) const
 This function returns the intersection segment
of range N;
The exception NotDone is raised if IsDone returns FALSE.
The exception OutOfRange is raised if (N <= 0)
or (N > NbPoints).
.
void SetReversedParameters (const Standard_Boolean Reverseflag)

Protected Member Functions

 IntRes2d_Intersection ()
 Empty constructor.
.
 IntRes2d_Intersection (const IntRes2d_Intersection &Other)
Standard_EXPORT void SetValues (const IntRes2d_Intersection &Inter)
Standard_EXPORT void Append (const IntRes2d_Intersection &Inter, const Standard_Real FirstParam1, const Standard_Real LastParam1, const Standard_Real FirstParam2, const Standard_Real LastParam2)
void Append (const IntRes2d_IntersectionSegment &Seg)
void Append (const IntRes2d_IntersectionPoint &Pnt)
Standard_EXPORT void Insert (const IntRes2d_IntersectionPoint &Pnt)
void ResetFields ()
Standard_Boolean ReversedParameters () const

Protected Attributes

Standard_Boolean done

Private Attributes

Standard_Boolean reverse
IntRes2d_SequenceOfIntersectionPoint lpnt
IntRes2d_SequenceOfIntersectionSegment lseg

Constructor & Destructor Documentation

IntRes2d_Intersection::IntRes2d_Intersection  )  [inline, protected]
 

IntRes2d_Intersection::IntRes2d_Intersection const IntRes2d_Intersection Other  )  [inline, protected]
 


Member Function Documentation

void IntRes2d_Intersection::Append const IntRes2d_IntersectionPoint Pnt  )  [inline, protected]
 

void IntRes2d_Intersection::Append const IntRes2d_IntersectionSegment Seg  )  [inline, protected]
 

Standard_EXPORT void IntRes2d_Intersection::Append const IntRes2d_Intersection Inter,
const Standard_Real  FirstParam1,
const Standard_Real  LastParam1,
const Standard_Real  FirstParam2,
const Standard_Real  LastParam2
[protected]
 

Standard_EXPORT void IntRes2d_Intersection::Insert const IntRes2d_IntersectionPoint Pnt  )  [protected]
 

Standard_Boolean IntRes2d_Intersection::IsDone  )  const [inline]
 

Standard_Boolean IntRes2d_Intersection::IsEmpty  )  const [inline]
 

Standard_Integer IntRes2d_Intersection::NbPoints  )  const [inline]
 

Standard_Integer IntRes2d_Intersection::NbSegments  )  const [inline]
 

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

Reimplemented in Bisector_Inter, BRepClass_Intersector, Geom2dHatch_Intersector, Geom2dInt_GInter, Geom2dInt_IntConicCurveOfGInter, Geom2dInt_TheIntConicCurveOfGInter, Geom2dInt_TheIntersectorOfTheIntConicCurveOfGInter, Geom2dInt_TheIntPCurvePCurveOfGInter, HLRBRep_CInter, HLRBRep_IntConicCurveOfCInter, HLRBRep_TheIntConicCurveOfCInter, HLRBRep_TheIntersectorOfTheIntConicCurveOfCInter, HLRBRep_TheIntPCurvePCurveOfCInter, IntCurve_IntConicConic, and IntCurve_IntImpConicParConic.

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

Reimplemented in Bisector_Inter, BRepClass_Intersector, Geom2dHatch_Intersector, Geom2dInt_GInter, Geom2dInt_IntConicCurveOfGInter, Geom2dInt_TheIntConicCurveOfGInter, Geom2dInt_TheIntersectorOfTheIntConicCurveOfGInter, Geom2dInt_TheIntPCurvePCurveOfGInter, HLRBRep_CInter, HLRBRep_IntConicCurveOfCInter, HLRBRep_TheIntConicCurveOfCInter, HLRBRep_TheIntersectorOfTheIntConicCurveOfCInter, HLRBRep_TheIntPCurvePCurveOfCInter, IntCurve_IntConicConic, and IntCurve_IntImpConicParConic.

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

Reimplemented in Bisector_Inter, BRepClass_Intersector, Geom2dHatch_Intersector, Geom2dInt_GInter, Geom2dInt_IntConicCurveOfGInter, Geom2dInt_TheIntConicCurveOfGInter, Geom2dInt_TheIntersectorOfTheIntConicCurveOfGInter, Geom2dInt_TheIntPCurvePCurveOfGInter, HLRBRep_CInter, HLRBRep_IntConicCurveOfCInter, HLRBRep_TheIntConicCurveOfCInter, HLRBRep_TheIntersectorOfTheIntConicCurveOfCInter, HLRBRep_TheIntPCurvePCurveOfCInter, IntCurve_IntConicConic, and IntCurve_IntImpConicParConic.

const IntRes2d_IntersectionPoint & IntRes2d_Intersection::Point const Standard_Integer  N  )  const [inline]
 

void IntRes2d_Intersection::ResetFields  )  [inline, protected]
 

Standard_Boolean IntRes2d_Intersection::ReversedParameters  )  const [inline, protected]
 

const IntRes2d_IntersectionSegment & IntRes2d_Intersection::Segment const Standard_Integer  N  )  const [inline]
 

void IntRes2d_Intersection::SetReversedParameters const Standard_Boolean  Reverseflag  )  [inline]
 

Standard_EXPORT void IntRes2d_Intersection::SetValues const IntRes2d_Intersection Inter  )  [protected]
 


Field Documentation

Standard_Boolean IntRes2d_Intersection::done [protected]
 

IntRes2d_SequenceOfIntersectionPoint IntRes2d_Intersection::lpnt [private]
 

IntRes2d_SequenceOfIntersectionSegment IntRes2d_Intersection::lseg [private]
 

Standard_Boolean IntRes2d_Intersection::reverse [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