Open CASCADE Technology  7.7.0
Public Member Functions | Protected Attributes
HatchGen_PointOnElement Class Reference

#include <HatchGen_PointOnElement.hxx>

Inheritance diagram for HatchGen_PointOnElement:
Inheritance graph
[legend]

Public Member Functions

 HatchGen_PointOnElement ()
 —Purpose; Creates an empty point on element More...
 
 HatchGen_PointOnElement (const IntRes2d_IntersectionPoint &Point)
 Creates a point from an intersection point. More...
 
void SetIntersectionType (const HatchGen_IntersectionType Type)
 Sets the intersection type at this point. More...
 
HatchGen_IntersectionType IntersectionType () const
 Returns the intersection type at this point. More...
 
Standard_Boolean IsIdentical (const HatchGen_PointOnElement &Point, const Standard_Real 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. More...
 
Standard_Boolean IsDifferent (const HatchGen_PointOnElement &Point, const Standard_Real Confusion) const
 Tests if the point is different from an other. More...
 
void Dump (const Standard_Integer Index=0) const
 Dump of the point on element. More...
 
- Public Member Functions inherited from HatchGen_IntersectionPoint
void SetIndex (const Standard_Integer Index)
 Sets the index of the supporting curve. More...
 
Standard_Integer Index () const
 Returns the index of the supporting curve. More...
 
void SetParameter (const Standard_Real Parameter)
 Sets the parameter on the curve. More...
 
Standard_Real Parameter () const
 Returns the parameter on the curve. More...
 
void SetPosition (const TopAbs_Orientation Position)
 Sets the position of the point on the curve. More...
 
TopAbs_Orientation Position () const
 Returns the position of the point on the curve. More...
 
void SetStateBefore (const TopAbs_State State)
 Sets the transition state before the intersection. More...
 
TopAbs_State StateBefore () const
 Returns the transition state before the intersection. More...
 
void SetStateAfter (const TopAbs_State State)
 Sets the transition state after the intersection. More...
 
TopAbs_State StateAfter () const
 Returns the transition state after of the intersection. More...
 
void SetSegmentBeginning (const Standard_Boolean State=Standard_True)
 Sets the flag that the point is the beginning of a segment. More...
 
Standard_Boolean SegmentBeginning () const
 Returns the flag that the point is the beginning of a segment. More...
 
void SetSegmentEnd (const Standard_Boolean State=Standard_True)
 Sets the flag that the point is the end of a segment. More...
 
Standard_Boolean SegmentEnd () const
 Returns the flag that the point is the end of a segment. More...
 

Protected Attributes

HatchGen_IntersectionType myType
 
- Protected Attributes inherited from HatchGen_IntersectionPoint
Standard_Integer myIndex
 
Standard_Real myParam
 
TopAbs_Orientation myPosit
 
TopAbs_State myBefore
 
TopAbs_State myAfter
 
Standard_Boolean mySegBeg
 
Standard_Boolean mySegEnd
 

Additional Inherited Members

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

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 Standard_Integer  Index = 0) const
virtual

Dump of the point on element.

Implements HatchGen_IntersectionPoint.

◆ IntersectionType()

HatchGen_IntersectionType HatchGen_PointOnElement::IntersectionType ( ) const

Returns the intersection type at this point.

◆ IsDifferent()

Standard_Boolean HatchGen_PointOnElement::IsDifferent ( const HatchGen_PointOnElement Point,
const Standard_Real  Confusion 
) const

Tests if the point is different from an other.

◆ IsIdentical()

Standard_Boolean HatchGen_PointOnElement::IsIdentical ( const HatchGen_PointOnElement Point,
const Standard_Real  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: