Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes
BOPDS_Curve Class Reference

The class BOPDS_Curve is to store the information about intersection curve. More...

#include <BOPDS_Curve.hxx>

Public Member Functions

 BOPDS_Curve ()
 Empty constructor.
 
virtual ~BOPDS_Curve ()
 
 BOPDS_Curve (const occ::handle< NCollection_BaseAllocator > &theAllocator)
 Constructor.
 
void SetCurve (const IntTools_Curve &theC)
 Modifier Sets the curve <theC>
 
const IntTools_CurveCurve () const
 Selector Returns the curve.
 
void SetBox (const Bnd_Box &theBox)
 Modifier Sets the bounding box <theBox> of the curve.
 
const Bnd_BoxBox () const
 Selector Returns the bounding box of the curve.
 
Bnd_BoxChangeBox ()
 Selector/Modifier Returns the bounding box of the curve.
 
void SetPaveBlocks (const NCollection_List< occ::handle< BOPDS_PaveBlock > > &theLPB)
 
const NCollection_List< occ::handle< BOPDS_PaveBlock > > & PaveBlocks () const
 Selector Returns the list of pave blocks of the curve.
 
NCollection_List< occ::handle< BOPDS_PaveBlock > > & ChangePaveBlocks ()
 Selector/Modifier Returns the list of pave blocks of the curve.
 
void InitPaveBlock1 ()
 Creates initial pave block of the curve.
 
occ::handle< BOPDS_PaveBlock > & ChangePaveBlock1 ()
 Selector/Modifier Returns initial pave block of the curve.
 
const NCollection_List< int > & TechnoVertices () const
 Selector Returns list of indices of technologic vertices of the curve.
 
NCollection_List< int > & ChangeTechnoVertices ()
 Selector/Modifier Returns list of indices of technologic vertices of the curve.
 
bool HasEdge () const
 Query Returns true if at least one pave block of the curve has edge.
 
void SetTolerance (const double theTol)
 Sets the tolerance for the curve.
 
double Tolerance () const
 Returns the tolerance of the curve.
 
double TangentialTolerance () const
 Returns the tangential tolerance of the curve.
 

Protected Attributes

occ::handle< NCollection_BaseAllocatormyAllocator
 
IntTools_Curve myCurve
 
NCollection_List< occ::handle< BOPDS_PaveBlock > > myPaveBlocks
 
NCollection_List< intmyTechnoVertices
 
Bnd_Box myBox
 
double myTolerance
 

Detailed Description

The class BOPDS_Curve is to store the information about intersection curve.

Constructor & Destructor Documentation

◆ BOPDS_Curve() [1/2]

BOPDS_Curve::BOPDS_Curve ( )

Empty constructor.

◆ ~BOPDS_Curve()

virtual BOPDS_Curve::~BOPDS_Curve ( )
virtual

◆ BOPDS_Curve() [2/2]

BOPDS_Curve::BOPDS_Curve ( const occ::handle< NCollection_BaseAllocator > & theAllocator)

Constructor.

Parameters
theAllocatorthe allocator to manage the memory

Member Function Documentation

◆ Box()

const Bnd_Box & BOPDS_Curve::Box ( ) const

Selector Returns the bounding box of the curve.

◆ ChangeBox()

Bnd_Box & BOPDS_Curve::ChangeBox ( )

Selector/Modifier Returns the bounding box of the curve.

◆ ChangePaveBlock1()

occ::handle< BOPDS_PaveBlock > & BOPDS_Curve::ChangePaveBlock1 ( )

Selector/Modifier Returns initial pave block of the curve.

◆ ChangePaveBlocks()

NCollection_List< occ::handle< BOPDS_PaveBlock > > & BOPDS_Curve::ChangePaveBlocks ( )

Selector/Modifier Returns the list of pave blocks of the curve.

◆ ChangeTechnoVertices()

NCollection_List< int > & BOPDS_Curve::ChangeTechnoVertices ( )

Selector/Modifier Returns list of indices of technologic vertices of the curve.

◆ Curve()

const IntTools_Curve & BOPDS_Curve::Curve ( ) const

Selector Returns the curve.

◆ HasEdge()

bool BOPDS_Curve::HasEdge ( ) const

Query Returns true if at least one pave block of the curve has edge.

◆ InitPaveBlock1()

void BOPDS_Curve::InitPaveBlock1 ( )

Creates initial pave block of the curve.

◆ PaveBlocks()

const NCollection_List< occ::handle< BOPDS_PaveBlock > > & BOPDS_Curve::PaveBlocks ( ) const

Selector Returns the list of pave blocks of the curve.

◆ SetBox()

void BOPDS_Curve::SetBox ( const Bnd_Box & theBox)

Modifier Sets the bounding box <theBox> of the curve.

◆ SetCurve()

void BOPDS_Curve::SetCurve ( const IntTools_Curve & theC)

Modifier Sets the curve <theC>

◆ SetPaveBlocks()

void BOPDS_Curve::SetPaveBlocks ( const NCollection_List< occ::handle< BOPDS_PaveBlock > > & theLPB)

◆ SetTolerance()

void BOPDS_Curve::SetTolerance ( const double theTol)
inline

Sets the tolerance for the curve.

◆ TangentialTolerance()

double BOPDS_Curve::TangentialTolerance ( ) const
inline

Returns the tangential tolerance of the curve.

◆ TechnoVertices()

const NCollection_List< int > & BOPDS_Curve::TechnoVertices ( ) const

Selector Returns list of indices of technologic vertices of the curve.

◆ Tolerance()

double BOPDS_Curve::Tolerance ( ) const
inline

Returns the tolerance of the curve.

Field Documentation

◆ myAllocator

occ::handle<NCollection_BaseAllocator> BOPDS_Curve::myAllocator
protected

◆ myBox

Bnd_Box BOPDS_Curve::myBox
protected

◆ myCurve

IntTools_Curve BOPDS_Curve::myCurve
protected

◆ myPaveBlocks

NCollection_List<occ::handle<BOPDS_PaveBlock> > BOPDS_Curve::myPaveBlocks
protected

◆ myTechnoVertices

NCollection_List<int> BOPDS_Curve::myTechnoVertices
protected

◆ myTolerance

double BOPDS_Curve::myTolerance
protected

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