Open CASCADE Technology
6.5.4
|
#include <HatchGen_PointOnElement.hxx>
Public Member Functions | |
DEFINE_STANDARD_ALLOC | HatchGen_PointOnElement () |
---Purpose; Creates an empty point on element | |
HatchGen_PointOnElement (const HatchGen_PointOnElement &Point) | |
Creates a point from an other. | |
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. | |
Protected Attributes | |
HatchGen_IntersectionType | myType |
void HatchGen_PointOnElement::Dump | ( | const Standard_Integer | Index = 0 | ) | const [virtual] |
Implements HatchGen_IntersectionPoint.
Standard_Boolean HatchGen_PointOnElement::IsDifferent | ( | const HatchGen_PointOnElement & | Point, |
const Standard_Real | Confusion | ||
) | const |
Standard_Boolean HatchGen_PointOnElement::IsIdentical | ( | const HatchGen_PointOnElement & | Point, |
const Standard_Real | Confusion | ||
) | const |