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
    Geom2dInt_GInter Class Reference

    #include <Geom2dInt_GInter.hxx>

    Inheritance diagram for Geom2dInt_GInter:

    Public Member Functions

     Geom2dInt_GInter ()
     Empty constructor.
     Geom2dInt_GInter (const Adaptor2d_Curve2d &C, const double TolConf, const double Tol)
     Self Intersection of a curve.
     Geom2dInt_GInter (const Adaptor2d_Curve2d &C, const IntRes2d_Domain &D, const double TolConf, const double Tol)
     Self Intersection of a curve with a domain.
     Geom2dInt_GInter (const Adaptor2d_Curve2d &C1, const Adaptor2d_Curve2d &C2, const double TolConf, const double Tol)
     Intersection between 2 curves.
     Geom2dInt_GInter (const Adaptor2d_Curve2d &C1, const IntRes2d_Domain &D1, const Adaptor2d_Curve2d &C2, const double TolConf, const double Tol)
     Intersection between 2 curves.
     Geom2dInt_GInter (const Adaptor2d_Curve2d &C1, const Adaptor2d_Curve2d &C2, const IntRes2d_Domain &D2, const double TolConf, const double Tol)
     Intersection between 2 curves.
     Geom2dInt_GInter (const Adaptor2d_Curve2d &C1, const IntRes2d_Domain &D1, const Adaptor2d_Curve2d &C2, const IntRes2d_Domain &D2, const double TolConf, const double Tol)
     Intersection between 2 curves.
    void Perform (const Adaptor2d_Curve2d &C1, const IntRes2d_Domain &D1, const Adaptor2d_Curve2d &C2, const IntRes2d_Domain &D2, const double TolConf, const double Tol)
     Intersection between 2 curves.
    void Perform (const Adaptor2d_Curve2d &C1, const Adaptor2d_Curve2d &C2, const double TolConf, const double Tol)
     Intersection between 2 curves.
    void Perform (const Adaptor2d_Curve2d &C1, const IntRes2d_Domain &D1, const double TolConf, const double Tol)
     Intersection between 2 curves.
    void Perform (const Adaptor2d_Curve2d &C1, const double TolConf, const double Tol)
     Intersection between 2 curves.
    void Perform (const Adaptor2d_Curve2d &C1, const IntRes2d_Domain &D1, const Adaptor2d_Curve2d &C2, const double TolConf, const double Tol)
     Intersection between 2 curves.
    void Perform (const Adaptor2d_Curve2d &C1, const Adaptor2d_Curve2d &C2, const IntRes2d_Domain &D2, const double TolConf, const double Tol)
     Intersection between 2 curves.
    IntRes2d_Domain ComputeDomain (const Adaptor2d_Curve2d &C1, const double TolDomain) const
     Create a domain from a curve.
    void SetMinNbSamples (const int theMinNbSamples)
     Set / get minimum number of points in polygon intersection.
    int GetMinNbSamples () const
    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

    Constructor & Destructor Documentation

    ◆ Geom2dInt_GInter() [1/7]

    Geom2dInt_GInter::Geom2dInt_GInter ( )

    Empty constructor.

    ◆ Geom2dInt_GInter() [2/7]

    Geom2dInt_GInter::Geom2dInt_GInter ( const Adaptor2d_Curve2d & C,
    const double TolConf,
    const double Tol )

    Self Intersection of a curve.

    ◆ Geom2dInt_GInter() [3/7]

    Geom2dInt_GInter::Geom2dInt_GInter ( const Adaptor2d_Curve2d & C,
    const IntRes2d_Domain & D,
    const double TolConf,
    const double Tol )

    Self Intersection of a curve with a domain.

    ◆ Geom2dInt_GInter() [4/7]

    Geom2dInt_GInter::Geom2dInt_GInter ( const Adaptor2d_Curve2d & C1,
    const Adaptor2d_Curve2d & C2,
    const double TolConf,
    const double Tol )

    Intersection between 2 curves.

    ◆ Geom2dInt_GInter() [5/7]

    Geom2dInt_GInter::Geom2dInt_GInter ( const Adaptor2d_Curve2d & C1,
    const IntRes2d_Domain & D1,
    const Adaptor2d_Curve2d & C2,
    const double TolConf,
    const double Tol )

    Intersection between 2 curves.

    ◆ Geom2dInt_GInter() [6/7]

    Geom2dInt_GInter::Geom2dInt_GInter ( const Adaptor2d_Curve2d & C1,
    const Adaptor2d_Curve2d & C2,
    const IntRes2d_Domain & D2,
    const double TolConf,
    const double Tol )

    Intersection between 2 curves.

    ◆ Geom2dInt_GInter() [7/7]

    Geom2dInt_GInter::Geom2dInt_GInter ( const Adaptor2d_Curve2d & C1,
    const IntRes2d_Domain & D1,
    const Adaptor2d_Curve2d & C2,
    const IntRes2d_Domain & D2,
    const double TolConf,
    const double Tol )

    Intersection between 2 curves.

    Member Function Documentation

    ◆ ComputeDomain()

    IntRes2d_Domain Geom2dInt_GInter::ComputeDomain ( const Adaptor2d_Curve2d & C1,
    const double TolDomain ) const

    Create a domain from a curve.

    ◆ GetMinNbSamples()

    int Geom2dInt_GInter::GetMinNbSamples ( ) const

    ◆ Perform() [1/6]

    void Geom2dInt_GInter::Perform ( const Adaptor2d_Curve2d & C1,
    const Adaptor2d_Curve2d & C2,
    const double TolConf,
    const double Tol )

    Intersection between 2 curves.

    ◆ Perform() [2/6]

    void Geom2dInt_GInter::Perform ( const Adaptor2d_Curve2d & C1,
    const Adaptor2d_Curve2d & C2,
    const IntRes2d_Domain & D2,
    const double TolConf,
    const double Tol )

    Intersection between 2 curves.

    ◆ Perform() [3/6]

    void Geom2dInt_GInter::Perform ( const Adaptor2d_Curve2d & C1,
    const double TolConf,
    const double Tol )

    Intersection between 2 curves.

    ◆ Perform() [4/6]

    void Geom2dInt_GInter::Perform ( const Adaptor2d_Curve2d & C1,
    const IntRes2d_Domain & D1,
    const Adaptor2d_Curve2d & C2,
    const double TolConf,
    const double Tol )

    Intersection between 2 curves.

    ◆ Perform() [5/6]

    void Geom2dInt_GInter::Perform ( const Adaptor2d_Curve2d & C1,
    const IntRes2d_Domain & D1,
    const Adaptor2d_Curve2d & C2,
    const IntRes2d_Domain & D2,
    const double TolConf,
    const double Tol )

    Intersection between 2 curves.

    ◆ Perform() [6/6]

    void Geom2dInt_GInter::Perform ( const Adaptor2d_Curve2d & C1,
    const IntRes2d_Domain & D1,
    const double TolConf,
    const double Tol )

    Intersection between 2 curves.

    ◆ SetMinNbSamples()

    void Geom2dInt_GInter::SetMinNbSamples ( const int theMinNbSamples)

    Set / get minimum number of points in polygon intersection.


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