Open CASCADE Technology 7.8.2.dev
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 Standard_Boolean Flag)
 Sets the flag about the trimming computations to the given value.
 
Standard_Boolean TrimDone () const
 Returns the flag about the trimming computations.
 
void TrimFailed (const Standard_Boolean Flag)
 Sets the flag about the trimming failure to the given value.
 
Standard_Boolean TrimFailed () const
 Returns the flag about the trimming failure.
 
void IsDone (const Standard_Boolean Flag)
 Sets the flag about the domains computation to the given value.
 
Standard_Boolean 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 Standard_Real Confusion)
 Adds an intersection point to the hatching.
 
Standard_Integer NbPoints () const
 Returns the number of intersection points of the hatching.
 
const HatchGen_PointOnHatchingPoint (const Standard_Integer 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 Standard_Integer Index)
 Returns the Index-th intersection point of the hatching. The exception OutOfRange is raised if Index < 1 or Index > NbPoints.
 
void RemPoint (const Standard_Integer 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.
 
Standard_Integer NbDomains () const
 Returns the number of domains of the hatching.
 
const HatchGen_DomainDomain (const Standard_Integer Index) const
 Returns the Index-th domain of the hatching. The exception OutOfRange is raised if Index < 1 or Index > NbDomains.
 
void RemDomain (const Standard_Integer 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 Standard_Real 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 Standard_Integer 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 Standard_Integer Index) const

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

◆ IsDone() [1/2]

Standard_Boolean Geom2dHatch_Hatching::IsDone ( ) const

Returns the flag about the domains computation.

◆ IsDone() [2/2]

void Geom2dHatch_Hatching::IsDone ( const Standard_Boolean Flag)

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

◆ NbDomains()

Standard_Integer Geom2dHatch_Hatching::NbDomains ( ) const

Returns the number of domains of the hatching.

◆ NbPoints()

Standard_Integer Geom2dHatch_Hatching::NbPoints ( ) const

Returns the number of intersection points of the hatching.

◆ Point()

const HatchGen_PointOnHatching & Geom2dHatch_Hatching::Point ( const Standard_Integer 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 Standard_Integer 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 Standard_Integer 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]

Standard_Boolean Geom2dHatch_Hatching::TrimDone ( ) const

Returns the flag about the trimming computations.

◆ TrimDone() [2/2]

void Geom2dHatch_Hatching::TrimDone ( const Standard_Boolean Flag)

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

◆ TrimFailed() [1/2]

Standard_Boolean Geom2dHatch_Hatching::TrimFailed ( ) const

Returns the flag about the trimming failure.

◆ TrimFailed() [2/2]

void Geom2dHatch_Hatching::TrimFailed ( const Standard_Boolean Flag)

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


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