Open CASCADE Technology 6.6.0
Public Member Functions | Protected Member Functions | Protected Attributes
BRepMesh_DiscretRoot Class Reference

This is a common interface for meshing algorithms
instantiated by Mesh Factory and implemented by plugins.

#include <BRepMesh_DiscretRoot.hxx>

Inheritance diagram for BRepMesh_DiscretRoot:
Inheritance graph
[legend]

Public Member Functions

void SetDeflection (const Standard_Real theDeflection)
 Setup linear deflection.

virtual ~BRepMesh_DiscretRoot ()
Standard_Real Deflection () const
 Returns linear deflection.

void SetAngle (const Standard_Real theAngle)
 Setup angular deflection.

Standard_Real Angle () const
 Returns angular deflection.

void SetShape (const TopoDS_Shape &theShape)
 Set the shape to triangulate.

const TopoDS_ShapeShape () const
virtual void Perform ()=0
 Compute triangulation for set shape.

Standard_Boolean IsDone () const
 Returns true if triangualtion was performed and has success.

Protected Member Functions

 BRepMesh_DiscretRoot ()
void SetDone ()
void SetNotDone ()
virtual void Init ()

Protected Attributes

Standard_Real myDeflection
Standard_Real myAngle
TopoDS_Shape myShape
Standard_Boolean myIsDone

Constructor & Destructor Documentation

virtual BRepMesh_DiscretRoot::~BRepMesh_DiscretRoot ( ) [virtual]
BRepMesh_DiscretRoot::BRepMesh_DiscretRoot ( ) [protected]

Member Function Documentation

Standard_Real BRepMesh_DiscretRoot::Angle ( ) const
Standard_Real BRepMesh_DiscretRoot::Deflection ( ) const
virtual void BRepMesh_DiscretRoot::Init ( ) [protected, virtual]

Reimplemented in BRepMesh_IncrementalMesh.

Standard_Boolean BRepMesh_DiscretRoot::IsDone ( ) const
virtual void BRepMesh_DiscretRoot::Perform ( ) [pure virtual]

Implemented in BRepMesh_IncrementalMesh.

void BRepMesh_DiscretRoot::SetAngle ( const Standard_Real  theAngle)
void BRepMesh_DiscretRoot::SetDeflection ( const Standard_Real  theDeflection)
void BRepMesh_DiscretRoot::SetDone ( ) [protected]
void BRepMesh_DiscretRoot::SetNotDone ( ) [protected]
void BRepMesh_DiscretRoot::SetShape ( const TopoDS_Shape theShape)
const TopoDS_Shape& BRepMesh_DiscretRoot::Shape ( ) const

Field Documentation


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines