OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    IntCurveSurface_Intersection Class Reference

    #include <IntCurveSurface_Intersection.hxx>

    Inheritance diagram for IntCurveSurface_Intersection:

    Public Member Functions

    bool IsDone () const
     returns the <done> field.
    int NbPoints () const
     returns the number of IntersectionPoint if IsDone returns True. else NotDone is raised.
    const IntCurveSurface_IntersectionPoint & Point (const int Index) const
     returns the IntersectionPoint of range <Index> raises NotDone if the computation has failed or if the computation has not been done raises OutOfRange if Index is not in the range <1..NbPoints>
    int NbSegments () const
     returns the number of IntersectionSegment if IsDone returns True. else NotDone is raised.
    const IntCurveSurface_IntersectionSegment & Segment (const int Index) const
     returns the IntersectionSegment of range <Index> raises NotDone if the computation has failed or if the computation has not been done raises OutOfRange if Index is not in the range <1..NbSegment>
    bool IsParallel () const
     Returns true if curve is parallel or belongs surface This case is recognized only for some pairs of analytical curves and surfaces (plane - line, ...).
    void Dump () const
     Dump all the fields.

    Protected Member Functions

     IntCurveSurface_Intersection ()
     Empty Constructor;.
     ~IntCurveSurface_Intersection ()=default
     Destructor is protected, for safe inheritance.
    void SetValues (const IntCurveSurface_Intersection &Inter)
     Internal method copy the <Inter> fields to <me>.
    void Append (const IntCurveSurface_Intersection &Inter, const double FirstParamOnCurve, const double LastParamOnCurve)
     Internal method Append the IntersectionPoints and IntersectionSegments of <Inter> to <me>.
    void Append (const IntCurveSurface_IntersectionPoint &Pt)
     Internal method Append the IntersectionPoints of <Inter> to <me>.
    void Append (const IntCurveSurface_IntersectionSegment &Seg)
     Internal method Append the IntersectionPoints of <Inter> to <me>.
    void ResetFields ()
     Internal method Reset all the fields of <me> Clear the sequences of IntersectionPoints and Segments Set the field <done> to false.

    Protected Attributes

    bool done
    bool myIsParallel

    Constructor & Destructor Documentation

    ◆ IntCurveSurface_Intersection()

    IntCurveSurface_Intersection::IntCurveSurface_Intersection ( )
    protected

    Empty Constructor;.

    ◆ ~IntCurveSurface_Intersection()

    IntCurveSurface_Intersection::~IntCurveSurface_Intersection ( )
    protecteddefault

    Destructor is protected, for safe inheritance.

    Member Function Documentation

    ◆ Append() [1/3]

    void IntCurveSurface_Intersection::Append ( const IntCurveSurface_Intersection & Inter,
    const double FirstParamOnCurve,
    const double LastParamOnCurve )
    protected

    Internal method Append the IntersectionPoints and IntersectionSegments of <Inter> to <me>.

    ◆ Append() [2/3]

    void IntCurveSurface_Intersection::Append ( const IntCurveSurface_IntersectionPoint & Pt)
    protected

    Internal method Append the IntersectionPoints of <Inter> to <me>.

    ◆ Append() [3/3]

    void IntCurveSurface_Intersection::Append ( const IntCurveSurface_IntersectionSegment & Seg)
    protected

    Internal method Append the IntersectionPoints of <Inter> to <me>.

    ◆ Dump()

    void IntCurveSurface_Intersection::Dump ( ) const

    Dump all the fields.

    ◆ IsDone()

    bool IntCurveSurface_Intersection::IsDone ( ) const

    returns the <done> field.

    ◆ IsParallel()

    bool IntCurveSurface_Intersection::IsParallel ( ) const

    Returns true if curve is parallel or belongs surface This case is recognized only for some pairs of analytical curves and surfaces (plane - line, ...).

    ◆ NbPoints()

    int IntCurveSurface_Intersection::NbPoints ( ) const

    returns the number of IntersectionPoint if IsDone returns True. else NotDone is raised.

    ◆ NbSegments()

    int IntCurveSurface_Intersection::NbSegments ( ) const

    returns the number of IntersectionSegment if IsDone returns True. else NotDone is raised.

    ◆ Point()

    const IntCurveSurface_IntersectionPoint & IntCurveSurface_Intersection::Point ( const int Index) const

    returns the IntersectionPoint of range <Index> raises NotDone if the computation has failed or if the computation has not been done raises OutOfRange if Index is not in the range <1..NbPoints>

    ◆ ResetFields()

    void IntCurveSurface_Intersection::ResetFields ( )
    protected

    Internal method Reset all the fields of <me> Clear the sequences of IntersectionPoints and Segments Set the field <done> to false.

    ◆ Segment()

    const IntCurveSurface_IntersectionSegment & IntCurveSurface_Intersection::Segment ( const int Index) const

    returns the IntersectionSegment of range <Index> raises NotDone if the computation has failed or if the computation has not been done raises OutOfRange if Index is not in the range <1..NbSegment>

    ◆ SetValues()

    void IntCurveSurface_Intersection::SetValues ( const IntCurveSurface_Intersection & Inter)
    protected

    Internal method copy the <Inter> fields to <me>.

    Field Documentation

    ◆ done

    bool IntCurveSurface_Intersection::done
    protected

    ◆ myIsParallel

    bool IntCurveSurface_Intersection::myIsParallel
    protected

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