Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Attributes
HatchGen_PointOnElement Class Reference

#include <HatchGen_PointOnElement.hxx>

Inheritance diagram for HatchGen_PointOnElement:
Inheritance graph
[legend]

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

Constructor & Destructor Documentation


Member Function Documentation

void HatchGen_PointOnElement::Dump ( const Standard_Integer  Index = 0) const [virtual]

Field Documentation


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