Open CASCADE Technology  7.3.0
Public Member Functions | Static Public Member Functions
Prs3d_ShapeTool Class Reference

describes the behaviour requested for a wireframe shape presentation. More...

#include <Prs3d_ShapeTool.hxx>

Public Member Functions

 Prs3d_ShapeTool (const TopoDS_Shape &theShape, const Standard_Boolean theAllVertices=Standard_False)
 Constructs the tool and initializes it using theShape and theAllVertices (optional) arguments. By default, only isolated and internal vertices are considered, however if theAllVertices argument is equal to True, all shape's vertices are taken into account. More...
 
void InitFace ()
 
Standard_Boolean MoreFace () const
 
void NextFace ()
 
const TopoDS_FaceGetFace () const
 
Bnd_Box FaceBound () const
 
Standard_Boolean IsPlanarFace () const
 
void InitCurve ()
 
Standard_Boolean MoreCurve () const
 
void NextCurve ()
 
const TopoDS_EdgeGetCurve () const
 
Bnd_Box CurveBound () const
 
Standard_Integer Neighbours () const
 
Handle< TopTools_HSequenceOfShape > FacesOfEdge () const
 
void InitVertex ()
 
Standard_Boolean MoreVertex () const
 
void NextVertex ()
 
const TopoDS_VertexGetVertex () const
 
Standard_Boolean HasSurface () const
 
Handle< Poly_TriangulationCurrentTriangulation (TopLoc_Location &l) const
 
Standard_Boolean HasCurve () const
 
void PolygonOnTriangulation (Handle< Poly_PolygonOnTriangulation > &Indices, Handle< Poly_Triangulation > &T, TopLoc_Location &l) const
 
Handle< Poly_Polygon3DPolygon3D (TopLoc_Location &l) const
 

Static Public Member Functions

static Standard_Boolean IsPlanarFace (const TopoDS_Face &theFace)
 

Detailed Description

describes the behaviour requested for a wireframe shape presentation.

Constructor & Destructor Documentation

◆ Prs3d_ShapeTool()

Prs3d_ShapeTool::Prs3d_ShapeTool ( const TopoDS_Shape theShape,
const Standard_Boolean  theAllVertices = Standard_False 
)

Constructs the tool and initializes it using theShape and theAllVertices (optional) arguments. By default, only isolated and internal vertices are considered, however if theAllVertices argument is equal to True, all shape's vertices are taken into account.

Member Function Documentation

◆ CurrentTriangulation()

Handle< Poly_Triangulation > Prs3d_ShapeTool::CurrentTriangulation ( TopLoc_Location l) const

◆ CurveBound()

Bnd_Box Prs3d_ShapeTool::CurveBound ( ) const

◆ FaceBound()

Bnd_Box Prs3d_ShapeTool::FaceBound ( ) const

◆ FacesOfEdge()

Handle< TopTools_HSequenceOfShape > Prs3d_ShapeTool::FacesOfEdge ( ) const

◆ GetCurve()

const TopoDS_Edge& Prs3d_ShapeTool::GetCurve ( ) const

◆ GetFace()

const TopoDS_Face& Prs3d_ShapeTool::GetFace ( ) const

◆ GetVertex()

const TopoDS_Vertex& Prs3d_ShapeTool::GetVertex ( ) const

◆ HasCurve()

Standard_Boolean Prs3d_ShapeTool::HasCurve ( ) const

◆ HasSurface()

Standard_Boolean Prs3d_ShapeTool::HasSurface ( ) const

◆ InitCurve()

void Prs3d_ShapeTool::InitCurve ( )

◆ InitFace()

void Prs3d_ShapeTool::InitFace ( )

◆ InitVertex()

void Prs3d_ShapeTool::InitVertex ( )

◆ IsPlanarFace() [1/2]

Standard_Boolean Prs3d_ShapeTool::IsPlanarFace ( ) const
inline

◆ IsPlanarFace() [2/2]

static Standard_Boolean Prs3d_ShapeTool::IsPlanarFace ( const TopoDS_Face theFace)
static

◆ MoreCurve()

Standard_Boolean Prs3d_ShapeTool::MoreCurve ( ) const

◆ MoreFace()

Standard_Boolean Prs3d_ShapeTool::MoreFace ( ) const

◆ MoreVertex()

Standard_Boolean Prs3d_ShapeTool::MoreVertex ( ) const

◆ Neighbours()

Standard_Integer Prs3d_ShapeTool::Neighbours ( ) const

◆ NextCurve()

void Prs3d_ShapeTool::NextCurve ( )

◆ NextFace()

void Prs3d_ShapeTool::NextFace ( )

◆ NextVertex()

void Prs3d_ShapeTool::NextVertex ( )

◆ Polygon3D()

Handle< Poly_Polygon3D > Prs3d_ShapeTool::Polygon3D ( TopLoc_Location l) const

◆ PolygonOnTriangulation()

void Prs3d_ShapeTool::PolygonOnTriangulation ( Handle< Poly_PolygonOnTriangulation > &  Indices,
Handle< Poly_Triangulation > &  T,
TopLoc_Location l 
) const

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