Open CASCADE Technology  7.2.0
Public Member Functions
BRepClass_Intersector Class Reference

Intersect an Edge with a segment. Implement the Intersector2d required by the classifier. More...

#include <BRepClass_Intersector.hxx>

Inheritance diagram for BRepClass_Intersector:
Inheritance graph
[legend]

Public Member Functions

 BRepClass_Intersector ()
 
void Perform (const gp_Lin2d &L, const Standard_Real P, const Standard_Real Tol, const BRepClass_Edge &E)
 Intersect the line segment and the edge. More...
 
void LocalGeometry (const BRepClass_Edge &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_IntConicCurveOfGInter
 Geom2dInt_IntConicCurveOfGInter ()
 Empty constructor. More...
 
 Geom2dInt_IntConicCurveOfGInter (const gp_Lin2d &L, const IntRes2d_Domain &D1, const Adaptor2d_Curve2d &PCurve, const IntRes2d_Domain &D2, const Standard_Real TolConf, const Standard_Real Tol)
 Intersection between a line and a parametric curve. More...
 
 Geom2dInt_IntConicCurveOfGInter (const gp_Circ2d &C, const IntRes2d_Domain &D1, const Adaptor2d_Curve2d &PCurve, const IntRes2d_Domain &D2, const Standard_Real TolConf, const Standard_Real Tol)
 Intersection between a line and a parametric curve. More...
 
 Geom2dInt_IntConicCurveOfGInter (const gp_Elips2d &E, const IntRes2d_Domain &D1, const Adaptor2d_Curve2d &PCurve, const IntRes2d_Domain &D2, const Standard_Real TolConf, const Standard_Real Tol)
 Intersection between an ellipse and a parametric curve. More...
 
 Geom2dInt_IntConicCurveOfGInter (const gp_Parab2d &Prb, const IntRes2d_Domain &D1, const Adaptor2d_Curve2d &PCurve, const IntRes2d_Domain &D2, const Standard_Real TolConf, const Standard_Real Tol)
 Intersection between a parabola and a parametric curve. More...
 
 Geom2dInt_IntConicCurveOfGInter (const gp_Hypr2d &H, const IntRes2d_Domain &D1, const Adaptor2d_Curve2d &PCurve, const IntRes2d_Domain &D2, const Standard_Real TolConf, const Standard_Real Tol)
 Intersection between the main branch of an hyperbola and a parametric curve. More...
 
void Perform (const gp_Lin2d &L, const IntRes2d_Domain &D1, const Adaptor2d_Curve2d &PCurve, const IntRes2d_Domain &D2, const Standard_Real TolConf, const Standard_Real Tol)
 Intersection between a line and a parametric curve. More...
 
void Perform (const gp_Circ2d &C, const IntRes2d_Domain &D1, const Adaptor2d_Curve2d &PCurve, const IntRes2d_Domain &D2, const Standard_Real TolConf, const Standard_Real Tol)
 Intersection between a line and a parametric curve. More...
 
void Perform (const gp_Elips2d &E, const IntRes2d_Domain &D1, const Adaptor2d_Curve2d &PCurve, const IntRes2d_Domain &D2, const Standard_Real TolConf, const Standard_Real Tol)
 Intersection between an ellipse and a parametric curve. More...
 
void Perform (const gp_Parab2d &Prb, const IntRes2d_Domain &D1, const Adaptor2d_Curve2d &PCurve, const IntRes2d_Domain &D2, const Standard_Real TolConf, const Standard_Real Tol)
 Intersection between a parabola and a parametric curve. More...
 
void Perform (const gp_Hypr2d &H, const IntRes2d_Domain &D1, const Adaptor2d_Curve2d &PCurve, const IntRes2d_Domain &D2, const Standard_Real TolConf, const Standard_Real Tol)
 Intersection between the main branch of an hyperbola and a parametric curve. More...
 
- 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_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). 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)
 
 ~IntRes2d_Intersection ()
 Destructor is protected, for safe inheritance. More...
 
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
 

Detailed Description

Intersect an Edge with a segment. Implement the Intersector2d required by the classifier.

Constructor & Destructor Documentation

◆ BRepClass_Intersector()

BRepClass_Intersector::BRepClass_Intersector ( )

Member Function Documentation

◆ LocalGeometry()

void BRepClass_Intersector::LocalGeometry ( const BRepClass_Edge 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>.

◆ Perform()

void BRepClass_Intersector::Perform ( const gp_Lin2d L,
const Standard_Real  P,
const Standard_Real  Tol,
const BRepClass_Edge E 
)

Intersect the line segment and the edge.


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