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

ModelingAlgorithms
TKTopAlgo
IntCurvesFace


IntCurvesFace_ShapeIntersector Class Reference

#include <IntCurvesFace_ShapeIntersector.hxx>


Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
Standard_EXPORT IntCurvesFace_ShapeIntersector ()
Standard_EXPORT void Load (const TopoDS_Shape &Sh, const Standard_Real Tol)
Standard_EXPORT void Perform (const gp_Lin &L, const Standard_Real PInf, const Standard_Real PSup)
 Perform the intersection between the
segment L and the loaded shape.

PInf is the smallest parameter on the line
PSup is the highest parammter on the line

For an infinite line PInf and PSup can be
+/- RealLast.
.
Standard_EXPORT void PerformNearest (const gp_Lin &L, const Standard_Real PInf, const Standard_Real PSup)
 Perform the intersection between the
segment L and the loaded shape.

PInf is the smallest parameter on the line
PSup is the highest parammter on the line

For an infinite line PInf and PSup can be
+/- RealLast.
.
Standard_EXPORT void Perform (const Handle(Adaptor3d_HCurve)&HCu, const Standard_Real PInf, const Standard_Real PSup)
 same method for a HCurve from Adaptor3d.
PInf an PSup can also be - and + INF.

Standard_Boolean IsDone () const
 True is returned when the intersection have been computed.
.
Standard_Integer NbPnt () const
Standard_Real UParameter (const Standard_Integer I) const
 Returns the U parameter of the ith intersection point
on the surface.
.
Standard_Real VParameter (const Standard_Integer I) const
 Returns the V parameter of the ith intersection point
on the surface.
.
Standard_Real WParameter (const Standard_Integer I) const
 Returns the parameter of the ith intersection point
on the line.
.
const gp_Pnt & Pnt (const Standard_Integer I) const
 Returns the geometric point of the ith intersection
between the line and the surface.
.
IntCurveSurface_TransitionOnCurve Transition (const Standard_Integer I) const
 Returns the ith transition of the line on the surface.
.
TopAbs_State State (const Standard_Integer I) const
 Returns the ith state of the point on the face.
The values can be either TopAbs_IN
( the point is in the face)
or TopAbs_ON
( the point is on a boudary of the face).
.
const TopoDS_Face & Face (const Standard_Integer I) const
 Returns the significant face used to determine
the intersection.

.
Standard_EXPORT void SortResult ()
 Internal method. Sort the result on the Curve
parameter.
.
Standard_EXPORT void Destroy ()
 ~IntCurvesFace_ShapeIntersector ()

Private Attributes

Standard_Boolean done
Standard_Integer nbfaces
Standard_Address PtrJetons
Standard_Address PtrJetonsIndex
BRepTopAdaptor_SeqOfPtr PtrIntersector
TColStd_SequenceOfInteger IndexPt
TColStd_SequenceOfInteger IndexFace
TColStd_SequenceOfInteger IndexIntPnt
TColStd_SequenceOfReal IndexPar


Constructor & Destructor Documentation

Standard_EXPORT IntCurvesFace_ShapeIntersector::IntCurvesFace_ShapeIntersector  ) 
 

IntCurvesFace_ShapeIntersector::~IntCurvesFace_ShapeIntersector  )  [inline]
 


Member Function Documentation

Standard_EXPORT void IntCurvesFace_ShapeIntersector::Destroy  ) 
 

const TopoDS_Face & IntCurvesFace_ShapeIntersector::Face const Standard_Integer  I  )  const [inline]
 

Standard_Boolean IntCurvesFace_ShapeIntersector::IsDone  )  const [inline]
 

Standard_EXPORT void IntCurvesFace_ShapeIntersector::Load const TopoDS_Shape &  Sh,
const Standard_Real  Tol
 

Standard_Integer IntCurvesFace_ShapeIntersector::NbPnt  )  const [inline]
 

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

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

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

Standard_EXPORT void IntCurvesFace_ShapeIntersector::Perform const Handle(Adaptor3d_HCurve)&  HCu,
const Standard_Real  PInf,
const Standard_Real  PSup
 

Standard_EXPORT void IntCurvesFace_ShapeIntersector::Perform const gp_Lin &  L,
const Standard_Real  PInf,
const Standard_Real  PSup
 

Standard_EXPORT void IntCurvesFace_ShapeIntersector::PerformNearest const gp_Lin &  L,
const Standard_Real  PInf,
const Standard_Real  PSup
 

const gp_Pnt & IntCurvesFace_ShapeIntersector::Pnt const Standard_Integer  I  )  const [inline]
 

Standard_EXPORT void IntCurvesFace_ShapeIntersector::SortResult  ) 
 

TopAbs_State IntCurvesFace_ShapeIntersector::State const Standard_Integer  I  )  const [inline]
 

IntCurveSurface_TransitionOnCurve IntCurvesFace_ShapeIntersector::Transition const Standard_Integer  I  )  const [inline]
 

Standard_Real IntCurvesFace_ShapeIntersector::UParameter const Standard_Integer  I  )  const [inline]
 

Standard_Real IntCurvesFace_ShapeIntersector::VParameter const Standard_Integer  I  )  const [inline]
 

Standard_Real IntCurvesFace_ShapeIntersector::WParameter const Standard_Integer  I  )  const [inline]
 


Field Documentation

Standard_Boolean IntCurvesFace_ShapeIntersector::done [private]
 

TColStd_SequenceOfInteger IntCurvesFace_ShapeIntersector::IndexFace [private]
 

TColStd_SequenceOfInteger IntCurvesFace_ShapeIntersector::IndexIntPnt [private]
 

TColStd_SequenceOfReal IntCurvesFace_ShapeIntersector::IndexPar [private]
 

TColStd_SequenceOfInteger IntCurvesFace_ShapeIntersector::IndexPt [private]
 

Standard_Integer IntCurvesFace_ShapeIntersector::nbfaces [private]
 

BRepTopAdaptor_SeqOfPtr IntCurvesFace_ShapeIntersector::PtrIntersector [private]
 

Standard_Address IntCurvesFace_ShapeIntersector::PtrJetons [private]
 

Standard_Address IntCurvesFace_ShapeIntersector::PtrJetonsIndex [private]
 


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