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

ModelingAlgorithms
TKGeomAlgo
Geom2dHatch


Geom2dHatch_Intersector Class Reference

#include <Geom2dHatch_Intersector.hxx>

Inheritance diagram for Geom2dHatch_Intersector:

Inheritance graph
[legend]

Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
 Geom2dHatch_Intersector (const Standard_Real Confusion, const Standard_Real Tangency)
 Creates an intersector.
.
Standard_Real ConfusionTolerance () const
 Returns the confusion tolerance of the
intersector.
.
void SetConfusionTolerance (const Standard_Real Confusion)
 Sets the confusion tolerance of the intersector.
.
Standard_Real TangencyTolerance () const
 Returns the tangency tolerance of the
intersector.
.
void SetTangencyTolerance (const Standard_Real Tangency)
 Sets the tangency tolerance of the intersector.
.
void Intersect (const Geom2dAdaptor_Curve &C1, const Geom2dAdaptor_Curve &C2)
 Intersects the curves C1 and C2.
The results are retreived by the usual methods
described in IntRes2d_Intersection.
//! Creates an intersector.
.
Standard_EXPORT Geom2dHatch_Intersector ()
Standard_EXPORT void Perform (const gp_Lin2d &L, const Standard_Real P, const Standard_Real Tol, const Geom2dAdaptor_Curve &E)
 Performs the intersection between the 2d line
segment (<l>,

) and the Curve <e>. The line
segment is the part of the 2d line <l> of
parameter range [0,

] (P is positive and can be
RealLast()). Tol is the Tolerance on the segment.
The order is relevant, the first argument is the
segment, the second the Edge.
.

Standard_EXPORT void LocalGeometry (const Geom2dAdaptor_Curve &E, const Standard_Real U, gp_Dir2d &T, gp_Dir2d &N, Standard_Real &C) const
 Returns in <t>, <n> and <c> the tangent, normal
and curvature of the edge <e> at parameter value
<u>.
.

Private Attributes

Standard_Real myConfusionTolerance
Standard_Real myTangencyTolerance

Constructor & Destructor Documentation

Geom2dHatch_Intersector::Geom2dHatch_Intersector const Standard_Real  Confusion,
const Standard_Real  Tangency
[inline]
 

Standard_EXPORT Geom2dHatch_Intersector::Geom2dHatch_Intersector  ) 
 


Member Function Documentation

Standard_Real Geom2dHatch_Intersector::ConfusionTolerance  )  const [inline]
 

void Geom2dHatch_Intersector::Intersect const Geom2dAdaptor_Curve &  C1,
const Geom2dAdaptor_Curve &  C2
[inline]
 

Standard_EXPORT void Geom2dHatch_Intersector::LocalGeometry const Geom2dAdaptor_Curve &  E,
const Standard_Real  U,
gp_Dir2d &  T,
gp_Dir2d &  N,
Standard_Real &  C
const
 

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

Reimplemented from Geom2dInt_GInter.

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

Reimplemented from Geom2dInt_GInter.

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

Reimplemented from Geom2dInt_GInter.

Standard_EXPORT void Geom2dHatch_Intersector::Perform const gp_Lin2d &  L,
const Standard_Real  P,
const Standard_Real  Tol,
const Geom2dAdaptor_Curve &  E
 

void Geom2dHatch_Intersector::SetConfusionTolerance const Standard_Real  Confusion  )  [inline]
 

void Geom2dHatch_Intersector::SetTangencyTolerance const Standard_Real  Tangency  )  [inline]
 

Standard_Real Geom2dHatch_Intersector::TangencyTolerance  )  const [inline]
 


Field Documentation

Standard_Real Geom2dHatch_Intersector::myConfusionTolerance [private]
 

Standard_Real Geom2dHatch_Intersector::myTangencyTolerance [private]
 


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