OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    HatchGen_PointOnElement Class Reference

    #include <HatchGen_PointOnElement.hxx>

    Inheritance diagram for HatchGen_PointOnElement:

    Public Member Functions

     HatchGen_PointOnElement ()
     —Purpose; Creates an empty point on element
     HatchGen_PointOnElement (const IntRes2d_IntersectionPoint &Point)
     Creates a point from an intersection point.
    void SetIntersectionType (const HatchGen_IntersectionType Type)
     Sets the intersection type at this point.
    HatchGen_IntersectionType IntersectionType () const
     Returns the intersection type at this point.
    bool IsIdentical (const HatchGen_PointOnElement &Point, const double Confusion) const
     Tests if the point is identical to an other. That is to say : P1.myIndex = P2.myIndex Abs (P1.myParam - P2.myParam) <= Confusion P1.myPosit = P2.myPosit P1.myBefore = P2.myBefore P1.myAfter = P2.myAfter P1.mySegBeg = P2.mySegBeg P1.mySegEnd = P2.mySegEnd P1.myType = P2.myType.
    bool IsDifferent (const HatchGen_PointOnElement &Point, const double Confusion) const
     Tests if the point is different from an other.
    void Dump (const int Index=0) const override
     Dump of the point on element.
    Public Member Functions inherited from HatchGen_IntersectionPoint
    void SetIndex (const int Index)
     Sets the index of the supporting curve.
    int Index () const
     Returns the index of the supporting curve.
    void SetParameter (const double Parameter)
     Sets the parameter on the curve.
    double Parameter () const
     Returns the parameter on the curve.
    void SetPosition (const TopAbs_Orientation Position)
     Sets the position of the point on the curve.
    TopAbs_Orientation Position () const
     Returns the position of the point on the curve.
    void SetStateBefore (const TopAbs_State State)
     Sets the transition state before the intersection.
    TopAbs_State StateBefore () const
     Returns the transition state before the intersection.
    void SetStateAfter (const TopAbs_State State)
     Sets the transition state after the intersection.
    TopAbs_State StateAfter () const
     Returns the transition state after of the intersection.
    void SetSegmentBeginning (const bool State=true)
     Sets the flag that the point is the beginning of a segment.
    bool SegmentBeginning () const
     Returns the flag that the point is the beginning of a segment.
    void SetSegmentEnd (const bool State=true)
     Sets the flag that the point is the end of a segment.
    bool SegmentEnd () const
     Returns the flag that the point is the end of a segment.

    Protected Attributes

    HatchGen_IntersectionType myType
    Protected Attributes inherited from HatchGen_IntersectionPoint
    int myIndex
    double myParam
    TopAbs_Orientation myPosit
    TopAbs_State myBefore
    TopAbs_State myAfter
    bool mySegBeg
    bool mySegEnd

    Additional Inherited Members

    Protected Member Functions inherited from HatchGen_IntersectionPoint
     HatchGen_IntersectionPoint ()
     Creates an empty intersection point.
     ~HatchGen_IntersectionPoint ()=default
     Destructor is protected for safer inheritance.

    Constructor & Destructor Documentation

    ◆ HatchGen_PointOnElement() [1/2]

    HatchGen_PointOnElement::HatchGen_PointOnElement ( )

    —Purpose; Creates an empty point on element

    ◆ HatchGen_PointOnElement() [2/2]

    HatchGen_PointOnElement::HatchGen_PointOnElement ( const IntRes2d_IntersectionPoint & Point)

    Creates a point from an intersection point.

    Member Function Documentation

    ◆ Dump()

    void HatchGen_PointOnElement::Dump ( const int Index = 0) const
    overridevirtual

    Dump of the point on element.

    Implements HatchGen_IntersectionPoint.

    ◆ IntersectionType()

    HatchGen_IntersectionType HatchGen_PointOnElement::IntersectionType ( ) const

    Returns the intersection type at this point.

    ◆ IsDifferent()

    bool HatchGen_PointOnElement::IsDifferent ( const HatchGen_PointOnElement & Point,
    const double Confusion ) const

    Tests if the point is different from an other.

    ◆ IsIdentical()

    bool HatchGen_PointOnElement::IsIdentical ( const HatchGen_PointOnElement & Point,
    const double Confusion ) const

    Tests if the point is identical to an other. That is to say : P1.myIndex = P2.myIndex Abs (P1.myParam - P2.myParam) <= Confusion P1.myPosit = P2.myPosit P1.myBefore = P2.myBefore P1.myAfter = P2.myAfter P1.mySegBeg = P2.mySegBeg P1.mySegEnd = P2.mySegEnd P1.myType = P2.myType.

    ◆ SetIntersectionType()

    void HatchGen_PointOnElement::SetIntersectionType ( const HatchGen_IntersectionType Type)

    Sets the intersection type at this point.

    Field Documentation

    ◆ myType

    HatchGen_IntersectionType HatchGen_PointOnElement::myType
    protected

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