Open CASCADE Technology  7.7.0
Public Member Functions | Static Public Member Functions
StdPrs_ShapeTool Class Reference

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

#include <StdPrs_ShapeTool.hxx>

Public Member Functions

 StdPrs_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

◆ StdPrs_ShapeTool()

StdPrs_ShapeTool::StdPrs_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 > StdPrs_ShapeTool::CurrentTriangulation ( TopLoc_Location l) const

◆ CurveBound()

Bnd_Box StdPrs_ShapeTool::CurveBound ( ) const

◆ FaceBound()

Bnd_Box StdPrs_ShapeTool::FaceBound ( ) const

◆ FacesOfEdge()

Handle< TopTools_HSequenceOfShape > StdPrs_ShapeTool::FacesOfEdge ( ) const

◆ GetCurve()

const TopoDS_Edge& StdPrs_ShapeTool::GetCurve ( ) const
inline

◆ GetFace()

const TopoDS_Face& StdPrs_ShapeTool::GetFace ( ) const
inline

◆ GetVertex()

const TopoDS_Vertex& StdPrs_ShapeTool::GetVertex ( ) const
inline

◆ HasCurve()

Standard_Boolean StdPrs_ShapeTool::HasCurve ( ) const

◆ HasSurface()

Standard_Boolean StdPrs_ShapeTool::HasSurface ( ) const

◆ InitCurve()

void StdPrs_ShapeTool::InitCurve ( )
inline

◆ InitFace()

void StdPrs_ShapeTool::InitFace ( )
inline

◆ InitVertex()

void StdPrs_ShapeTool::InitVertex ( )
inline

◆ IsPlanarFace() [1/2]

Standard_Boolean StdPrs_ShapeTool::IsPlanarFace ( ) const
inline

◆ IsPlanarFace() [2/2]

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

◆ MoreCurve()

Standard_Boolean StdPrs_ShapeTool::MoreCurve ( ) const
inline

◆ MoreFace()

Standard_Boolean StdPrs_ShapeTool::MoreFace ( ) const
inline

◆ MoreVertex()

Standard_Boolean StdPrs_ShapeTool::MoreVertex ( ) const
inline

◆ Neighbours()

Standard_Integer StdPrs_ShapeTool::Neighbours ( ) const

◆ NextCurve()

void StdPrs_ShapeTool::NextCurve ( )
inline

◆ NextFace()

void StdPrs_ShapeTool::NextFace ( )
inline

◆ NextVertex()

void StdPrs_ShapeTool::NextVertex ( )
inline

◆ Polygon3D()

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

◆ PolygonOnTriangulation()

void StdPrs_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: