Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Member Functions
Geom2dHatch_Hatching Class Reference

#include <Geom2dHatch_Hatching.hxx>

Public Member Functions

 Geom2dHatch_Hatching ()
 
 Geom2dHatch_Hatching (const Geom2dAdaptor_Curve &Curve)
 Creates a hatching.
 
const Geom2dAdaptor_CurveCurve () const
 Returns the curve associated to the hatching.
 
Geom2dAdaptor_CurveChangeCurve ()
 Returns the curve associated to the hatching.
 
void TrimDone (const bool Flag)
 Sets the flag about the trimming computations to the given value.
 
bool TrimDone () const
 Returns the flag about the trimming computations.
 
void TrimFailed (const bool Flag)
 Sets the flag about the trimming failure to the given value.
 
bool TrimFailed () const
 Returns the flag about the trimming failure.
 
void IsDone (const bool Flag)
 Sets the flag about the domains computation to the given value.
 
bool IsDone () const
 Returns the flag about the domains computation.
 
void Status (const HatchGen_ErrorStatus theStatus)
 Sets the error status.
 
HatchGen_ErrorStatus Status () const
 Returns the error status.
 
void AddPoint (const HatchGen_PointOnHatching &Point, const double Confusion)
 Adds an intersection point to the hatching.
 
int NbPoints () const
 Returns the number of intersection points of the hatching.
 
const HatchGen_PointOnHatchingPoint (const int Index) const
 Returns the Index-th intersection point of the hatching. The exception OutOfRange is raised if Index < 1 or Index > NbPoints.
 
HatchGen_PointOnHatchingChangePoint (const int Index)
 Returns the Index-th intersection point of the hatching. The exception OutOfRange is raised if Index < 1 or Index > NbPoints.
 
void RemPoint (const int Index)
 Removes the Index-th intersection point of the hatching. The exception OutOfRange is raised if Index < 1 or Index > NbPoints.
 
void ClrPoints ()
 Removes all the intersection points of the hatching.
 
void AddDomain (const HatchGen_Domain &Domain)
 Adds a domain to the hatching.
 
int NbDomains () const
 Returns the number of domains of the hatching.
 
const HatchGen_DomainDomain (const int Index) const
 Returns the Index-th domain of the hatching. The exception OutOfRange is raised if Index < 1 or Index > NbDomains.
 
void RemDomain (const int Index)
 Removes the Index-th domain of the hatching. The exception OutOfRange is raised if Index < 1 or Index > NbDomains.
 
void ClrDomains ()
 Removes all the domains of the hatching.
 
gp_Pnt2d ClassificationPoint () const
 Returns a point on the curve. This point will be used for the classification.
 

Constructor & Destructor Documentation

◆ Geom2dHatch_Hatching() [1/2]

Geom2dHatch_Hatching::Geom2dHatch_Hatching ( )

◆ Geom2dHatch_Hatching() [2/2]

Geom2dHatch_Hatching::Geom2dHatch_Hatching ( const Geom2dAdaptor_Curve & Curve)

Creates a hatching.

Member Function Documentation

◆ AddDomain()

void Geom2dHatch_Hatching::AddDomain ( const HatchGen_Domain & Domain)

Adds a domain to the hatching.

◆ AddPoint()

void Geom2dHatch_Hatching::AddPoint ( const HatchGen_PointOnHatching & Point,
const double Confusion )

Adds an intersection point to the hatching.

◆ ChangeCurve()

Geom2dAdaptor_Curve & Geom2dHatch_Hatching::ChangeCurve ( )

Returns the curve associated to the hatching.

◆ ChangePoint()

HatchGen_PointOnHatching & Geom2dHatch_Hatching::ChangePoint ( const int Index)

Returns the Index-th intersection point of the hatching. The exception OutOfRange is raised if Index < 1 or Index > NbPoints.

◆ ClassificationPoint()

gp_Pnt2d Geom2dHatch_Hatching::ClassificationPoint ( ) const

Returns a point on the curve. This point will be used for the classification.

◆ ClrDomains()

void Geom2dHatch_Hatching::ClrDomains ( )

Removes all the domains of the hatching.

◆ ClrPoints()

void Geom2dHatch_Hatching::ClrPoints ( )

Removes all the intersection points of the hatching.

◆ Curve()

const Geom2dAdaptor_Curve & Geom2dHatch_Hatching::Curve ( ) const

Returns the curve associated to the hatching.

◆ Domain()

const HatchGen_Domain & Geom2dHatch_Hatching::Domain ( const int Index) const

Returns the Index-th domain of the hatching. The exception OutOfRange is raised if Index < 1 or Index > NbDomains.

◆ IsDone() [1/2]

bool Geom2dHatch_Hatching::IsDone ( ) const

Returns the flag about the domains computation.

◆ IsDone() [2/2]

void Geom2dHatch_Hatching::IsDone ( const bool Flag)

Sets the flag about the domains computation to the given value.

◆ NbDomains()

int Geom2dHatch_Hatching::NbDomains ( ) const

Returns the number of domains of the hatching.

◆ NbPoints()

int Geom2dHatch_Hatching::NbPoints ( ) const

Returns the number of intersection points of the hatching.

◆ Point()

const HatchGen_PointOnHatching & Geom2dHatch_Hatching::Point ( const int Index) const

Returns the Index-th intersection point of the hatching. The exception OutOfRange is raised if Index < 1 or Index > NbPoints.

◆ RemDomain()

void Geom2dHatch_Hatching::RemDomain ( const int Index)

Removes the Index-th domain of the hatching. The exception OutOfRange is raised if Index < 1 or Index > NbDomains.

◆ RemPoint()

void Geom2dHatch_Hatching::RemPoint ( const int Index)

Removes the Index-th intersection point of the hatching. The exception OutOfRange is raised if Index < 1 or Index > NbPoints.

◆ Status() [1/2]

HatchGen_ErrorStatus Geom2dHatch_Hatching::Status ( ) const

Returns the error status.

◆ Status() [2/2]

void Geom2dHatch_Hatching::Status ( const HatchGen_ErrorStatus theStatus)

Sets the error status.

◆ TrimDone() [1/2]

bool Geom2dHatch_Hatching::TrimDone ( ) const

Returns the flag about the trimming computations.

◆ TrimDone() [2/2]

void Geom2dHatch_Hatching::TrimDone ( const bool Flag)

Sets the flag about the trimming computations to the given value.

◆ TrimFailed() [1/2]

bool Geom2dHatch_Hatching::TrimFailed ( ) const

Returns the flag about the trimming failure.

◆ TrimFailed() [2/2]

void Geom2dHatch_Hatching::TrimFailed ( const bool Flag)

Sets the flag about the trimming failure to the given value.


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