Version: 8.3.0
StdMeshers_SMESHBlock Class Reference

#include <StdMeshers_Penta_3D.hxx>

Public Member Functions

 StdMeshers_SMESHBlock ()
 
void Load (const TopoDS_Shell &theShell)
 
void Load (const TopoDS_Shell &theShell, const TopoDS_Vertex &theV000, const TopoDS_Vertex &theV001)
 
void ComputeParameters (const gp_Pnt &thePnt, gp_XYZ &theXYZ)
 
void ComputeParameters (const gp_Pnt &thePnt, const TopoDS_Shape &theShape, gp_XYZ &theXYZ)
 
void ComputeParameters (const double &theU, const TopoDS_Shape &theShape, gp_XYZ &theXYZ)
 
void Point (const gp_XYZ &theParams, gp_Pnt &thePnt)
 
void Point (const gp_XYZ &theParams, const TopoDS_Shape &theShape, gp_Pnt &thePnt)
 
int ShapeID (const TopoDS_Shape &theShape)
 
const TopoDS_Shape & Shape (const int theID)
 
SMESH_BlockBlock ()
 
bool IsForwadEdge (const int theEdgeID)
 
int ErrorStatus () const
 
SMESH_ComputeErrorPtr GetError () const
 Return problem description. More...
 

Protected Attributes

TopoDS_Shell myShell
 
TopTools_IndexedMapOfOrientedShape myShapeIDMap
 
SMESH_Block myTBlock
 
TopoDS_Shape myEmptyShape
 
std::vector< intmyIsEdgeForward
 
int myErrorStatus
 

Constructor & Destructor Documentation

StdMeshers_SMESHBlock::StdMeshers_SMESHBlock ( )

Member Function Documentation

SMESH_Block& StdMeshers_SMESHBlock::Block ( )
void StdMeshers_SMESHBlock::ComputeParameters ( const gp_Pnt &  thePnt,
gp_XYZ &  theXYZ 
)

References myShell.

Referenced by StdMeshers_Penta_3D::MakeNodes().

void StdMeshers_SMESHBlock::ComputeParameters ( const gp_Pnt &  thePnt,
const TopoDS_Shape &  theShape,
gp_XYZ &  theXYZ 
)
void StdMeshers_SMESHBlock::ComputeParameters ( const double &  theU,
const TopoDS_Shape &  theShape,
gp_XYZ &  theXYZ 
)
int StdMeshers_SMESHBlock::ErrorStatus ( ) const
SMESH_ComputeErrorPtr StdMeshers_SMESHBlock::GetError ( ) const

Return problem description.

References myErrorStatus, and SMESH_ComputeError::New().

Referenced by StdMeshers_Penta_3D::MakeBlock(), and StdMeshers_Penta_3D::MakeNodes().

void StdMeshers_SMESHBlock::Load ( const TopoDS_Shell &  theShell)
void StdMeshers_SMESHBlock::Load ( const TopoDS_Shell &  theShell,
const TopoDS_Vertex &  theV000,
const TopoDS_Vertex &  theV001 
)
void StdMeshers_SMESHBlock::Point ( const gp_XYZ &  theParams,
gp_Pnt &  thePnt 
)
void StdMeshers_SMESHBlock::Point ( const gp_XYZ &  theParams,
const TopoDS_Shape &  theShape,
gp_Pnt &  thePnt 
)
int StdMeshers_SMESHBlock::ShapeID ( const TopoDS_Shape &  theShape)

Field Documentation

TopoDS_Shape StdMeshers_SMESHBlock::myEmptyShape
protected

Referenced by Shape().

int StdMeshers_SMESHBlock::myErrorStatus
protected
std::vector<int> StdMeshers_SMESHBlock::myIsEdgeForward
protected
TopTools_IndexedMapOfOrientedShape StdMeshers_SMESHBlock::myShapeIDMap
protected

Referenced by IsForwadEdge(), Load(), Shape(), and ShapeID().

TopoDS_Shell StdMeshers_SMESHBlock::myShell
protected

Referenced by ComputeParameters(), and Load().

SMESH_Block StdMeshers_SMESHBlock::myTBlock
protected