Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
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


Member Function Documentation

virtual void BRepMesh_DiscretRoot::Init ( ) [protected, virtual]

Reimplemented in BRepMesh_IncrementalMesh.

virtual void BRepMesh_DiscretRoot::Perform ( ) [pure virtual]

Implemented in BRepMesh_IncrementalMesh.


Field Documentation


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