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

ModelingAlgorithms
TKTopAlgo
IntCurvesFace


IntCurvesFace_Intersector Class Reference

#include <IntCurvesFace_Intersector.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_Intersector (const TopoDS_Face &F, const Standard_Real aTol)
 Load a Face.

The Tolerance <tol> is used to determine if the
first point of the segment is near the face. In
that case, the parameter of the intersection point
on the line can be a negative value (greater than -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 face.

PInf is the smallest parameter on the line
PSup is the highest parmaeter 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_EXPORT GeomAbs_SurfaceType SurfaceType () const
 Return the surface type
.
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
 Returns the significant face used to determine
the intersection.

.
Standard_EXPORT TopAbs_State ClassifyUVPoint (const gp_Pnt2d &Puv) const
Standard_EXPORT Bnd_Box Bounding () const
Standard_EXPORT void Destroy ()
 ~IntCurvesFace_Intersector ()

Private Member Functions

Standard_EXPORT void InternalCall (const IntCurveSurface_HInter &HICS, const Standard_Real pinf, const Standard_Real psup)

Private Attributes

Handle_BRepTopAdaptor_TopolTool myTopolTool
Handle_BRepAdaptor_HSurface Hsurface
Standard_Real Tol
IntCurveSurface_SequenceOfPnt SeqPnt
TColStd_SequenceOfInteger mySeqState
Standard_Boolean done
Standard_Integer nbpnt
TopoDS_Face face
Standard_Address PtrOnPolyhedron
Standard_Address PtrOnBndBounding


Constructor & Destructor Documentation

Standard_EXPORT IntCurvesFace_Intersector::IntCurvesFace_Intersector const TopoDS_Face &  F,
const Standard_Real  aTol
 

IntCurvesFace_Intersector::~IntCurvesFace_Intersector  )  [inline]
 


Member Function Documentation

Standard_EXPORT Bnd_Box IntCurvesFace_Intersector::Bounding  )  const
 

Standard_EXPORT TopAbs_State IntCurvesFace_Intersector::ClassifyUVPoint const gp_Pnt2d &  Puv  )  const
 

Standard_EXPORT void IntCurvesFace_Intersector::Destroy  ) 
 

const TopoDS_Face & IntCurvesFace_Intersector::Face  )  const [inline]
 

Standard_EXPORT void IntCurvesFace_Intersector::InternalCall const IntCurveSurface_HInter HICS,
const Standard_Real  pinf,
const Standard_Real  psup
[private]
 

Standard_Boolean IntCurvesFace_Intersector::IsDone  )  const [inline]
 

Standard_Integer IntCurvesFace_Intersector::NbPnt  )  const [inline]
 

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

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

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

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

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

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

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

Standard_EXPORT GeomAbs_SurfaceType IntCurvesFace_Intersector::SurfaceType  )  const
 

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

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

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

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


Field Documentation

Standard_Boolean IntCurvesFace_Intersector::done [private]
 

TopoDS_Face IntCurvesFace_Intersector::face [private]
 

Handle_BRepAdaptor_HSurface IntCurvesFace_Intersector::Hsurface [private]
 

TColStd_SequenceOfInteger IntCurvesFace_Intersector::mySeqState [private]
 

Handle_BRepTopAdaptor_TopolTool IntCurvesFace_Intersector::myTopolTool [private]
 

Standard_Integer IntCurvesFace_Intersector::nbpnt [private]
 

Standard_Address IntCurvesFace_Intersector::PtrOnBndBounding [private]
 

Standard_Address IntCurvesFace_Intersector::PtrOnPolyhedron [private]
 

IntCurveSurface_SequenceOfPnt IntCurvesFace_Intersector::SeqPnt [private]
 

Standard_Real IntCurvesFace_Intersector::Tol [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