OCC Main Page | ModelingAlgorithms | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

ModelingAlgorithms
TKGeomAlgo
HatchGen


HatchGen_PointOnHatching Class Reference

#include <HatchGen_PointOnHatching.hxx>

Inheritance diagram for HatchGen_PointOnHatching:

Inheritance graph
[legend]

Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
Standard_EXPORT HatchGen_PointOnHatching ()
 Creates an empty point.
.
Standard_EXPORT HatchGen_PointOnHatching (const HatchGen_PointOnHatching &Point)
 Creates a point from an other.
.
Standard_EXPORT HatchGen_PointOnHatching (const IntRes2d_IntersectionPoint &Point)
 Creates a point from an intersection point.
.
virtual Standard_EXPORT void Delete ()
 linux porting

virtual Standard_EXPORT ~HatchGen_PointOnHatching ()
Standard_EXPORT void AddPoint (const HatchGen_PointOnElement &Point, const Standard_Real Confusion)
 Adds a point on element to the point.
.
Standard_EXPORT Standard_Integer NbPoints () const
 Returns the number of elements intersecting the
hatching at this point.
.
Standard_EXPORT const HatchGen_PointOnElementPoint (const Standard_Integer Index) const
 Returns the Index-th point on element of the point.
The exception OutOfRange is raised if
Index > NbPoints.
.
Standard_EXPORT void RemPoint (const Standard_Integer Index)
 Removes the Index-th point on element of the point.
The exception OutOfRange is raised if
Index > NbPoints.
.
Standard_EXPORT void ClrPoints ()
 Removes all the points on element of the point.
.
Standard_EXPORT Standard_Boolean IsLower (const HatchGen_PointOnHatching &Point, const Standard_Real Confusion) const
 Tests if the point is lower than an other.
A point on hatching P1 is said to be lower than an
other P2 if :
P2.myParam - P1.myParam > Confusion
.
Standard_EXPORT Standard_Boolean IsEqual (const HatchGen_PointOnHatching &Point, const Standard_Real Confusion) const
 Tests if the point is equal to an other.
A point on hatching P1 is said to be equal to an
other P2 if :
| P2.myParam - P1.myParam | <= Confusion
.
Standard_EXPORT Standard_Boolean IsGreater (const HatchGen_PointOnHatching &Point, const Standard_Real Confusion) const
 Tests if the point is greater than an other.
A point on hatching P1 is said to be greater than an
other P2 if :
P1.myParam - P2.myParam > Confusion
.
Standard_EXPORT void Dump (const Standard_Integer Index=0) const
 Dump of the point.
.

Protected Attributes

HatchGen_PointsOnElement myPoints

Constructor & Destructor Documentation

Standard_EXPORT HatchGen_PointOnHatching::HatchGen_PointOnHatching  ) 
 

Standard_EXPORT HatchGen_PointOnHatching::HatchGen_PointOnHatching const HatchGen_PointOnHatching Point  ) 
 

Standard_EXPORT HatchGen_PointOnHatching::HatchGen_PointOnHatching const IntRes2d_IntersectionPoint Point  ) 
 

virtual Standard_EXPORT HatchGen_PointOnHatching::~HatchGen_PointOnHatching  )  [inline, virtual]
 


Member Function Documentation

Standard_EXPORT void HatchGen_PointOnHatching::AddPoint const HatchGen_PointOnElement Point,
const Standard_Real  Confusion
 

Standard_EXPORT void HatchGen_PointOnHatching::ClrPoints  ) 
 

virtual Standard_EXPORT void HatchGen_PointOnHatching::Delete  )  [virtual]
 

Standard_EXPORT void HatchGen_PointOnHatching::Dump const Standard_Integer  Index = 0  )  const [virtual]
 

Implements HatchGen_IntersectionPoint.

Standard_EXPORT Standard_Boolean HatchGen_PointOnHatching::IsEqual const HatchGen_PointOnHatching Point,
const Standard_Real  Confusion
const
 

Standard_EXPORT Standard_Boolean HatchGen_PointOnHatching::IsGreater const HatchGen_PointOnHatching Point,
const Standard_Real  Confusion
const
 

Standard_EXPORT Standard_Boolean HatchGen_PointOnHatching::IsLower const HatchGen_PointOnHatching Point,
const Standard_Real  Confusion
const
 

Standard_EXPORT Standard_Integer HatchGen_PointOnHatching::NbPoints  )  const
 

void HatchGen_PointOnHatching::operator delete void *  anAddress  )  [inline]
 

Reimplemented from HatchGen_IntersectionPoint.

void* HatchGen_PointOnHatching::operator new size_t  size  )  [inline]
 

Reimplemented from HatchGen_IntersectionPoint.

void* HatchGen_PointOnHatching::operator new size_t  ,
void *  anAddress
[inline]
 

Reimplemented from HatchGen_IntersectionPoint.

Standard_EXPORT const HatchGen_PointOnElement& HatchGen_PointOnHatching::Point const Standard_Integer  Index  )  const
 

Standard_EXPORT void HatchGen_PointOnHatching::RemPoint const Standard_Integer  Index  ) 
 


Field Documentation

HatchGen_PointsOnElement HatchGen_PointOnHatching::myPoints [protected]
 


The documentation for this class was generated from the following file:
Generated on Mon Aug 25 13:42:02 2008 for OpenCASCADE by  doxygen 1.4.1