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

#include <HatchGen_Domain.hxx>

Public Member Functions

DEFINE_STANDARD_ALLOC HatchGen_Domain ()
 Creates an infinite domain.

 HatchGen_Domain (const HatchGen_PointOnHatching &P1, const HatchGen_PointOnHatching &P2)
 Creates a domain for the curve associated to a hatching.

 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_PointOnHatchingFirstPoint () 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_PointOnHatchingSecondPoint () const
 Returns the second point of the domain.
The exception DomainError is raised if
HasSecondPoint returns False.

void Dump (const Standard_Integer Index=0) const
 Dump of the domain.


Constructor & Destructor Documentation


Member Function Documentation


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