#include <HatchGen_PointOnElement.hxx>

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. | |
| 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. | |
| Standard_Boolean | IsDifferent (const HatchGen_PointOnElement &Point, const Standard_Real Confusion) const |
| Tests if the point is different from an other. | |
| void | Dump (const Standard_Integer Index=0) const |
| Dump of the point on element. | |
Public Member Functions inherited from HatchGen_IntersectionPoint | |
| void | SetIndex (const Standard_Integer Index) |
| Sets the index of the supporting curve. | |
| Standard_Integer | Index () const |
| Returns the index of the supporting curve. | |
| void | SetParameter (const Standard_Real Parameter) |
| Sets the parameter on the curve. | |
| Standard_Real | 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 Standard_Boolean State=Standard_True) |
| Sets the flag that the point is the beginning of a segment. | |
| Standard_Boolean | SegmentBeginning () const |
| Returns the flag that the point is the beginning of a segment. | |
| void | SetSegmentEnd (const Standard_Boolean State=Standard_True) |
| Sets the flag that the point is the end of a segment. | |
| Standard_Boolean | 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 | |
| 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. | |
| ~HatchGen_IntersectionPoint () | |
| Destructor is protected for safer inheritance. | |
| HatchGen_PointOnElement::HatchGen_PointOnElement | ( | ) |
—Purpose; Creates an empty point on element
| HatchGen_PointOnElement::HatchGen_PointOnElement | ( | const IntRes2d_IntersectionPoint & | Point | ) |
Creates a point from an intersection point.
|
virtual |
Dump of the point on element.
Implements HatchGen_IntersectionPoint.
| HatchGen_IntersectionType HatchGen_PointOnElement::IntersectionType | ( | ) | const |
Returns the intersection type at this point.
| Standard_Boolean HatchGen_PointOnElement::IsDifferent | ( | const HatchGen_PointOnElement & | Point, |
| const Standard_Real | Confusion ) const |
Tests if the point is different from an other.
| 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.
| void HatchGen_PointOnElement::SetIntersectionType | ( | const HatchGen_IntersectionType | Type | ) |
Sets the intersection type at this point.
|
protected |