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

ModelingAlgorithms
TKGeomAlgo
HatchGen


HatchGen_Domain Class Reference

#include <HatchGen_Domain.hxx>


Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
Standard_EXPORT HatchGen_Domain ()
 Creates an infinite domain.
.
Standard_EXPORT HatchGen_Domain (const HatchGen_PointOnHatching &P1, const HatchGen_PointOnHatching &P2)
 Creates a domain for the curve associated to a hatching.
.
Standard_EXPORT HatchGen_Domain (const HatchGen_PointOnHatching &P, const Standard_Boolean First)
 Creates a semi-infinite domain for the curve associated
to a hatching. The `First' flag means that the given
point is the first one.
.
void SetPoints (const HatchGen_PointOnHatching &P1, const HatchGen_PointOnHatching &P2)
 Sets the first and the second points of the domain.
.
void SetPoints ()
 Sets the first and the second points of the domain
as the infinite.
.
void SetFirstPoint (const HatchGen_PointOnHatching &P)
 Sets the first point of the domain.
.
void SetFirstPoint ()
 Sets the first point of the domain at the
infinite.
.
void SetSecondPoint (const HatchGen_PointOnHatching &P)
 Sets the second point of the domain.
.
void SetSecondPoint ()
 Sets the second point of the domain at the
infinite.
.
Standard_Boolean HasFirstPoint () const
 Returns True if the domain has a first point.
.
const HatchGen_PointOnHatching & FirstPoint () const
 Returns the first point of the domain.
The exception DomainError is raised if
HasFirstPoint returns False.
.
Standard_Boolean HasSecondPoint () const
 Returns True if the domain has a second point.
.
const HatchGen_PointOnHatching & SecondPoint () const
 Returns the second point of the domain.
The exception DomainError is raised if
HasSecondPoint returns False.
.
Standard_EXPORT void Dump (const Standard_Integer Index=0) const
 Dump of the domain.
.

Private Attributes

Standard_Boolean myHasFirstPoint
HatchGen_PointOnHatching myFirstPoint
Standard_Boolean myHasSecondPoint
HatchGen_PointOnHatching mySecondPoint


Constructor & Destructor Documentation

Standard_EXPORT HatchGen_Domain::HatchGen_Domain (   ) 
 

Standard_EXPORT HatchGen_Domain::HatchGen_Domain (  const HatchGen_PointOnHatching &  P1,
const HatchGen_PointOnHatching &  P2
) 
 

Standard_EXPORT HatchGen_Domain::HatchGen_Domain (  const HatchGen_PointOnHatching &  P,
const Standard_Boolean  First
) 
 


Member Function Documentation

Standard_EXPORT void HatchGen_Domain::Dump (  const Standard_Integer  Index = 0  )  const
 

const HatchGen_PointOnHatching & HatchGen_Domain::FirstPoint (   )  const [inline]
 

Standard_Boolean HatchGen_Domain::HasFirstPoint (   )  const [inline]
 

Standard_Boolean HatchGen_Domain::HasSecondPoint (   )  const [inline]
 

void HatchGen_Domain::operator delete (  void *  anAddress  )  [inline]
 

void* HatchGen_Domain::operator new (  size_t  size  )  [inline]
 

void* HatchGen_Domain::operator new (  size_t  ,
void *  anAddress
)  [inline]
 

const HatchGen_PointOnHatching & HatchGen_Domain::SecondPoint (   )  const [inline]
 

void HatchGen_Domain::SetFirstPoint (   )  [inline]
 

void HatchGen_Domain::SetFirstPoint (  const HatchGen_PointOnHatching &  P  )  [inline]
 

void HatchGen_Domain::SetPoints (   )  [inline]
 

void HatchGen_Domain::SetPoints (  const HatchGen_PointOnHatching &  P1,
const HatchGen_PointOnHatching &  P2
)  [inline]
 

void HatchGen_Domain::SetSecondPoint (   )  [inline]
 

void HatchGen_Domain::SetSecondPoint (  const HatchGen_PointOnHatching &  P  )  [inline]
 


Field Documentation

HatchGen_PointOnHatching HatchGen_Domain::myFirstPoint [private]
 

Standard_Boolean HatchGen_Domain::myHasFirstPoint [private]
 

Standard_Boolean HatchGen_Domain::myHasSecondPoint [private]
 

HatchGen_PointOnHatching HatchGen_Domain::mySecondPoint [private]
 


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