OCCT3D OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    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:

    Public Member Functions

     BRepClass_Intersector ()
    void Perform (const gp_Lin2d &L, const double P, const double Tol, const BRepClass_Edge &E)
     Intersect the line segment and the edge.
    void LocalGeometry (const BRepClass_Edge &E, const double U, gp_Dir2d &T, gp_Dir2d &N, double &C) const
     Returns in <T>, <N> and the tangent, normal and curvature of the edge <E> at parameter value .
    Public Member Functions inherited from Geom2dInt_IntConicCurveOfGInter
     Geom2dInt_IntConicCurveOfGInter ()
     Empty constructor.
     Geom2dInt_IntConicCurveOfGInter (const gp_Lin2d &L, const IntRes2d_Domain &D1, const Adaptor2d_Curve2d &PCurve, const IntRes2d_Domain &D2, const double TolConf, const double Tol)
     Intersection between a line and a parametric curve.
     Geom2dInt_IntConicCurveOfGInter (const gp_Circ2d &C, const IntRes2d_Domain &D1, const Adaptor2d_Curve2d &PCurve, const IntRes2d_Domain &D2, const double TolConf, const double Tol)
     Intersection between a line and a parametric curve.
     Geom2dInt_IntConicCurveOfGInter (const gp_Elips2d &E, const IntRes2d_Domain &D1, const Adaptor2d_Curve2d &PCurve, const IntRes2d_Domain &D2, const double TolConf, const double Tol)
     Intersection between an ellipse and a parametric curve.
     Geom2dInt_IntConicCurveOfGInter (const gp_Parab2d &Prb, const IntRes2d_Domain &D1, const Adaptor2d_Curve2d &PCurve, const IntRes2d_Domain &D2, const double TolConf, const double Tol)
     Intersection between a parabola and a parametric curve.
     Geom2dInt_IntConicCurveOfGInter (const gp_Hypr2d &H, const IntRes2d_Domain &D1, const Adaptor2d_Curve2d &PCurve, const IntRes2d_Domain &D2, const double TolConf, const double Tol)
     Intersection between the main branch of an hyperbola and a parametric curve.
    void Perform (const gp_Lin2d &L, const IntRes2d_Domain &D1, const Adaptor2d_Curve2d &PCurve, const IntRes2d_Domain &D2, const double TolConf, const double Tol)
     Intersection between a line and a parametric curve.
    void Perform (const gp_Circ2d &C, const IntRes2d_Domain &D1, const Adaptor2d_Curve2d &PCurve, const IntRes2d_Domain &D2, const double TolConf, const double Tol)
     Intersection between a line and a parametric curve.
    void Perform (const gp_Elips2d &E, const IntRes2d_Domain &D1, const Adaptor2d_Curve2d &PCurve, const IntRes2d_Domain &D2, const double TolConf, const double Tol)
     Intersection between an ellipse and a parametric curve.
    void Perform (const gp_Parab2d &Prb, const IntRes2d_Domain &D1, const Adaptor2d_Curve2d &PCurve, const IntRes2d_Domain &D2, const double TolConf, const double Tol)
     Intersection between a parabola and a parametric curve.
    void Perform (const gp_Hypr2d &H, const IntRes2d_Domain &D1, const Adaptor2d_Curve2d &PCurve, const IntRes2d_Domain &D2, const double TolConf, const double Tol)
     Intersection between the main branch of an hyperbola and a parametric curve.
    Public Member Functions inherited from IntRes2d_Intersection
    bool IsDone () const
     returns TRUE when the computation was successful.
    bool IsEmpty () const
     Returns TRUE if there is no intersection between the given arguments. The exception NotDone is raised if IsDone returns FALSE.
    int NbPoints () const
     This function returns the number of intersection points between the 2 curves. The exception NotDone is raised if IsDone returns FALSE.
    const IntRes2d_IntersectionPointPoint (const int 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).
    int NbSegments () const
     This function returns the number of intersection segments between the two curves. The exception NotDone is raised if IsDone returns FALSE.
    const IntRes2d_IntersectionSegmentSegment (const int 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).
    void SetReversedParameters (const bool Reverseflag)

    Additional Inherited Members

    Protected Member Functions inherited from IntRes2d_Intersection
     IntRes2d_Intersection ()
     Empty constructor.
     IntRes2d_Intersection (const IntRes2d_Intersection &Other)
    IntRes2d_Intersectionoperator= (const IntRes2d_Intersection &theOther)=default
     Assignment.
     ~IntRes2d_Intersection ()=default
     Destructor is protected, for safe inheritance.
    void SetValues (const IntRes2d_Intersection &Inter)
    void Append (const IntRes2d_Intersection &Inter, const double FirstParam1, const double LastParam1, const double FirstParam2, const double LastParam2)
    void Append (const IntRes2d_IntersectionSegment &Seg)
    void Append (const IntRes2d_IntersectionPoint &Pnt)
    void Insert (const IntRes2d_IntersectionPoint &Pnt)
    void ResetFields ()
    bool ReversedParameters () const
    Protected Attributes inherited from IntRes2d_Intersection
    NCollection_Sequence< IntRes2d_IntersectionPointlpnt
    NCollection_Sequence< IntRes2d_IntersectionSegmentlseg
    bool done
    bool reverse

    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 double U,
    gp_Dir2d & T,
    gp_Dir2d & N,
    double & C ) const

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

    ◆ Perform()

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

    Intersect the line segment and the edge.


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