Open CASCADE Technology  7.4.0
Public Member Functions
HatchGen_Domain Class Reference

#include <HatchGen_Domain.hxx>

Public Member Functions

 HatchGen_Domain ()
 Creates an infinite domain. More...
 
 HatchGen_Domain (const HatchGen_PointOnHatching &P1, const HatchGen_PointOnHatching &P2)
 Creates a domain for the curve associated to a hatching. More...
 
 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. More...
 
void SetPoints (const HatchGen_PointOnHatching &P1, const HatchGen_PointOnHatching &P2)
 Sets the first and the second points of the domain. More...
 
void SetPoints ()
 Sets the first and the second points of the domain as the infinite. More...
 
void SetFirstPoint (const HatchGen_PointOnHatching &P)
 Sets the first point of the domain. More...
 
void SetFirstPoint ()
 Sets the first point of the domain at the infinite. More...
 
void SetSecondPoint (const HatchGen_PointOnHatching &P)
 Sets the second point of the domain. More...
 
void SetSecondPoint ()
 Sets the second point of the domain at the infinite. More...
 
Standard_Boolean HasFirstPoint () const
 Returns True if the domain has a first point. More...
 
const HatchGen_PointOnHatchingFirstPoint () const
 Returns the first point of the domain. The exception DomainError is raised if HasFirstPoint returns False. More...
 
Standard_Boolean HasSecondPoint () const
 Returns True if the domain has a second point. More...
 
const HatchGen_PointOnHatchingSecondPoint () const
 Returns the second point of the domain. The exception DomainError is raised if HasSecondPoint returns False. More...
 
void Dump (const Standard_Integer Index=0) const
 Dump of the domain. More...
 

Constructor & Destructor Documentation

◆ HatchGen_Domain() [1/3]

HatchGen_Domain::HatchGen_Domain ( )

Creates an infinite domain.

◆ HatchGen_Domain() [2/3]

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

Creates a domain for the curve associated to a hatching.

◆ HatchGen_Domain() [3/3]

HatchGen_Domain::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.

Member Function Documentation

◆ Dump()

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

Dump of the domain.

◆ FirstPoint()

const HatchGen_PointOnHatching& HatchGen_Domain::FirstPoint ( ) const

Returns the first point of the domain. The exception DomainError is raised if HasFirstPoint returns False.

◆ HasFirstPoint()

Standard_Boolean HatchGen_Domain::HasFirstPoint ( ) const

Returns True if the domain has a first point.

◆ HasSecondPoint()

Standard_Boolean HatchGen_Domain::HasSecondPoint ( ) const

Returns True if the domain has a second point.

◆ SecondPoint()

const HatchGen_PointOnHatching& HatchGen_Domain::SecondPoint ( ) const

Returns the second point of the domain. The exception DomainError is raised if HasSecondPoint returns False.

◆ SetFirstPoint() [1/2]

void HatchGen_Domain::SetFirstPoint ( const HatchGen_PointOnHatching P)

Sets the first point of the domain.

◆ SetFirstPoint() [2/2]

void HatchGen_Domain::SetFirstPoint ( )

Sets the first point of the domain at the infinite.

◆ SetPoints() [1/2]

void HatchGen_Domain::SetPoints ( const HatchGen_PointOnHatching P1,
const HatchGen_PointOnHatching P2 
)

Sets the first and the second points of the domain.

◆ SetPoints() [2/2]

void HatchGen_Domain::SetPoints ( )

Sets the first and the second points of the domain as the infinite.

◆ SetSecondPoint() [1/2]

void HatchGen_Domain::SetSecondPoint ( const HatchGen_PointOnHatching P)

Sets the second point of the domain.

◆ SetSecondPoint() [2/2]

void HatchGen_Domain::SetSecondPoint ( )

Sets the second point of the domain at the infinite.


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