Open CASCADE Technology  7.3.0
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 contructor. More...
 
virtual ~BOPDS_Curve ()
 
 BOPDS_Curve (const Handle< NCollection_BaseAllocator > &theAllocator)
 Contructor <theAllocator> - the allocator to manage the memory. More...
 
void SetCurve (const IntTools_Curve &theC)
 Modifier Sets the curve <theC> More...
 
const IntTools_CurveCurve () const
 Selector Returns the curve. More...
 
void SetBox (const Bnd_Box &theBox)
 Modifier Sets the bounding box <theBox> of the curve. More...
 
const Bnd_BoxBox () const
 Selector Returns the bounding box of the curve. More...
 
Bnd_BoxChangeBox ()
 Selector/Modifier Returns the bounding box of the curve. More...
 
void SetPaveBlocks (const BOPDS_ListOfPaveBlock &theLPB)
 
const BOPDS_ListOfPaveBlockPaveBlocks () const
 Selector Returns the list of pave blocks of the curve. More...
 
BOPDS_ListOfPaveBlockChangePaveBlocks ()
 Selector/Modifier Returns the list of pave blocks of the curve. More...
 
void InitPaveBlock1 ()
 Creates initial pave block of the curve. More...
 
Handle< BOPDS_PaveBlock > & ChangePaveBlock1 ()
 Selector/Modifier Returns initial pave block of the curve. More...
 
const TColStd_ListOfIntegerTechnoVertices () const
 Selector Returns list of indices of technologic vertices of the curve. More...
 
TColStd_ListOfIntegerChangeTechnoVertices ()
 Selector/Modifier Returns list of indices of technologic vertices of the curve. More...
 
Standard_Boolean HasEdge () const
 Query Returns true if at least one pave block of the curve has edge. More...
 
void SetTolerance (const Standard_Real theTol)
 Sets the tolerance for the curve. More...
 
Standard_Real Tolerance () const
 Returns the tolerance of the curve. More...
 
Standard_Real TangentialTolerance () const
 Returns the tangential tolerance of the curve. More...
 

Protected Attributes

Handle< NCollection_BaseAllocatormyAllocator
 
IntTools_Curve myCurve
 
BOPDS_ListOfPaveBlock myPaveBlocks
 
TColStd_ListOfInteger myTechnoVertices
 
Bnd_Box myBox
 
Standard_Real 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 contructor.

◆ ~BOPDS_Curve()

virtual BOPDS_Curve::~BOPDS_Curve ( )
virtual

◆ BOPDS_Curve() [2/2]

BOPDS_Curve::BOPDS_Curve ( const Handle< NCollection_BaseAllocator > &  theAllocator)

Contructor <theAllocator> - the 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()

Handle< BOPDS_PaveBlock >& BOPDS_Curve::ChangePaveBlock1 ( )

Selector/Modifier Returns initial pave block of the curve.

◆ ChangePaveBlocks()

BOPDS_ListOfPaveBlock& BOPDS_Curve::ChangePaveBlocks ( )

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

◆ ChangeTechnoVertices()

TColStd_ListOfInteger& 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()

Standard_Boolean 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 BOPDS_ListOfPaveBlock& 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 BOPDS_ListOfPaveBlock theLPB)

◆ SetTolerance()

void BOPDS_Curve::SetTolerance ( const Standard_Real  theTol)
inline

Sets the tolerance for the curve.

◆ TangentialTolerance()

Standard_Real BOPDS_Curve::TangentialTolerance ( ) const
inline

Returns the tangential tolerance of the curve.

◆ TechnoVertices()

const TColStd_ListOfInteger& BOPDS_Curve::TechnoVertices ( ) const

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

◆ Tolerance()

Standard_Real BOPDS_Curve::Tolerance ( ) const
inline

Returns the tolerance of the curve.

Field Documentation

◆ myAllocator

Handle< NCollection_BaseAllocator > BOPDS_Curve::myAllocator
protected

◆ myBox

Bnd_Box BOPDS_Curve::myBox
protected

◆ myCurve

IntTools_Curve BOPDS_Curve::myCurve
protected

◆ myPaveBlocks

BOPDS_ListOfPaveBlock BOPDS_Curve::myPaveBlocks
protected

◆ myTechnoVertices

TColStd_ListOfInteger BOPDS_Curve::myTechnoVertices
protected

◆ myTolerance

Standard_Real BOPDS_Curve::myTolerance
protected

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