Open CASCADE Technology Reference Manual 8.0.2
Loading...
Searching...
No Matches
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 bool theAllVertices=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.
void InitFace ()
bool MoreFace () const
void NextFace ()
const TopoDS_Face & GetFace () const
Bnd_Box FaceBound () const
bool IsPlanarFace () const
void InitCurve ()
bool MoreCurve () const
void NextCurve ()
const TopoDS_Edge & GetCurve () const
Bnd_Box CurveBound () const
int Neighbours () const
occ::handle< NCollection_HSequence< TopoDS_Shape > > FacesOfEdge () const
void InitVertex ()
bool MoreVertex () const
void NextVertex ()
const TopoDS_Vertex & GetVertex () const
bool HasSurface () const
occ::handle< Poly_Triangulation > CurrentTriangulation (TopLoc_Location &l) const
bool HasCurve () const
void PolygonOnTriangulation (occ::handle< Poly_PolygonOnTriangulation > &Indices, occ::handle< Poly_Triangulation > &T, TopLoc_Location &l) const
occ::handle< Poly_Polygon3D > Polygon3D (TopLoc_Location &l) const

Static Public Member Functions

static bool 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 bool theAllVertices = 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()

occ::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()

occ::handle< NCollection_HSequence< TopoDS_Shape > > 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()

bool StdPrs_ShapeTool::HasCurve ( ) const

◆ HasSurface()

bool 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]

bool StdPrs_ShapeTool::IsPlanarFace ( ) const
inline

◆ IsPlanarFace() [2/2]

bool StdPrs_ShapeTool::IsPlanarFace ( const TopoDS_Face & theFace)
static

◆ MoreCurve()

bool StdPrs_ShapeTool::MoreCurve ( ) const
inline

◆ MoreFace()

bool StdPrs_ShapeTool::MoreFace ( ) const
inline

◆ MoreVertex()

bool StdPrs_ShapeTool::MoreVertex ( ) const
inline

◆ Neighbours()

int StdPrs_ShapeTool::Neighbours ( ) const

◆ NextCurve()

void StdPrs_ShapeTool::NextCurve ( )
inline

◆ NextFace()

void StdPrs_ShapeTool::NextFace ( )
inline

◆ NextVertex()

void StdPrs_ShapeTool::NextVertex ( )
inline

◆ Polygon3D()

occ::handle< Poly_Polygon3D > StdPrs_ShapeTool::Polygon3D ( TopLoc_Location & l) const

◆ PolygonOnTriangulation()

void StdPrs_ShapeTool::PolygonOnTriangulation ( occ::handle< Poly_PolygonOnTriangulation > & Indices,
occ::handle< Poly_Triangulation > & T,
TopLoc_Location & l ) const

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