Open CASCADE Technology  6.9.0
Public Member Functions

Geom2dHatch_Intersector Class Reference

#include <Geom2dHatch_Intersector.hxx>

Inheritance diagram for Geom2dHatch_Intersector:
Inheritance graph
[legend]

Public Member Functions

 Geom2dHatch_Intersector (const Standard_Real Confusion, const Standard_Real Tangency)
 Creates an intersector. More...
 
Standard_Real ConfusionTolerance () const
 Returns the confusion tolerance of the intersector. More...
 
void SetConfusionTolerance (const Standard_Real Confusion)
 Sets the confusion tolerance of the intersector. More...
 
Standard_Real TangencyTolerance () const
 Returns the tangency tolerance of the intersector. More...
 
void SetTangencyTolerance (const Standard_Real Tangency)
 Sets the tangency tolerance of the intersector. More...
 
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. More...
 
 Geom2dHatch_Intersector ()
 
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>,. More...
 
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 the tangent, normal and curvature of the edge <E> at parameter value <U>. More...
 
- Public Member Functions inherited from Geom2dInt_GInter
 Geom2dInt_GInter ()
 
 Geom2dInt_GInter (const Adaptor2d_Curve2d &C, const Standard_Real TolConf, const Standard_Real Tol)
 
 Geom2dInt_GInter (const Adaptor2d_Curve2d &C, const IntRes2d_Domain &D, const Standard_Real TolConf, const Standard_Real Tol)
 
 Geom2dInt_GInter (const Adaptor2d_Curve2d &C1, const Adaptor2d_Curve2d &C2, const Standard_Real TolConf, const Standard_Real Tol)
 
 Geom2dInt_GInter (const Adaptor2d_Curve2d &C1, const IntRes2d_Domain &D1, const Adaptor2d_Curve2d &C2, const Standard_Real TolConf, const Standard_Real Tol)
 
 Geom2dInt_GInter (const Adaptor2d_Curve2d &C1, const Adaptor2d_Curve2d &C2, const IntRes2d_Domain &D2, const Standard_Real TolConf, const Standard_Real Tol)
 
 Geom2dInt_GInter (const Adaptor2d_Curve2d &C1, const IntRes2d_Domain &D1, const Adaptor2d_Curve2d &C2, const IntRes2d_Domain &D2, const Standard_Real TolConf, const Standard_Real Tol)
 
void Perform (const Adaptor2d_Curve2d &C1, const IntRes2d_Domain &D1, const Adaptor2d_Curve2d &C2, const IntRes2d_Domain &D2, const Standard_Real TolConf, const Standard_Real Tol)
 
void Perform (const Adaptor2d_Curve2d &C1, const Adaptor2d_Curve2d &C2, const Standard_Real TolConf, const Standard_Real Tol)
 
void Perform (const Adaptor2d_Curve2d &C1, const IntRes2d_Domain &D1, const Standard_Real TolConf, const Standard_Real Tol)
 
void Perform (const Adaptor2d_Curve2d &C1, const Standard_Real TolConf, const Standard_Real Tol)
 
void Perform (const Adaptor2d_Curve2d &C1, const IntRes2d_Domain &D1, const Adaptor2d_Curve2d &C2, const Standard_Real TolConf, const Standard_Real Tol)
 
void Perform (const Adaptor2d_Curve2d &C1, const Adaptor2d_Curve2d &C2, const IntRes2d_Domain &D2, const Standard_Real TolConf, const Standard_Real Tol)
 
IntRes2d_Domain ComputeDomain (const Adaptor2d_Curve2d &C1, const Standard_Real TolDomain) const
 
- Public Member Functions inherited from IntRes2d_Intersection
Standard_Boolean IsDone () const
 returns TRUE when the computation was successful. More...
 
Standard_Boolean IsEmpty () const
 Returns TRUE if there is no intersection between the given arguments. The exception NotDone is raised if IsDone returns FALSE. More...
 
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. More...
 
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). More...
 
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. More...
 
const
IntRes2d_IntersectionSegment
Segment (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). More...
 
void SetReversedParameters (const Standard_Boolean Reverseflag)
 

Additional Inherited Members

- Protected Member Functions inherited from IntRes2d_Intersection
 IntRes2d_Intersection ()
 Empty constructor. More...
 
 IntRes2d_Intersection (const IntRes2d_Intersection &Other)
 
void SetValues (const IntRes2d_Intersection &Inter)
 
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)
 
void Insert (const IntRes2d_IntersectionPoint &Pnt)
 
void ResetFields ()
 
Standard_Boolean ReversedParameters () const
 
- Protected Attributes inherited from IntRes2d_Intersection
Standard_Boolean done
 

Constructor & Destructor Documentation

Geom2dHatch_Intersector::Geom2dHatch_Intersector ( const Standard_Real  Confusion,
const Standard_Real  Tangency 
)

Creates an intersector.

Geom2dHatch_Intersector::Geom2dHatch_Intersector ( )

Member Function Documentation

Standard_Real Geom2dHatch_Intersector::ConfusionTolerance ( ) const

Returns the confusion tolerance of the intersector.

void Geom2dHatch_Intersector::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.

void Geom2dHatch_Intersector::LocalGeometry ( const Geom2dAdaptor_Curve E,
const Standard_Real  U,
gp_Dir2d T,
gp_Dir2d N,
Standard_Real C 
) const

Returns in <T>, <N> and the tangent, normal and curvature of the edge <E> at parameter value <U>.

void Geom2dHatch_Intersector::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.

void Geom2dHatch_Intersector::SetConfusionTolerance ( const Standard_Real  Confusion)

Sets the confusion tolerance of the intersector.

void Geom2dHatch_Intersector::SetTangencyTolerance ( const Standard_Real  Tangency)

Sets the tangency tolerance of the intersector.

Standard_Real Geom2dHatch_Intersector::TangencyTolerance ( ) const

Returns the tangency tolerance of the intersector.


The documentation for this class was generated from the following file: