Version: 9.12.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 IsForwardEdge (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< int > myIsEdgeForward
 
int myErrorStatus
 

Constructor & Destructor Documentation

◆ StdMeshers_SMESHBlock()

StdMeshers_SMESHBlock::StdMeshers_SMESHBlock ( )

Member Function Documentation

◆ Block()

SMESH_Block& StdMeshers_SMESHBlock::Block ( )

◆ ComputeParameters() [1/3]

void StdMeshers_SMESHBlock::ComputeParameters ( const double &  theU,
const TopoDS_Shape &  theShape,
gp_XYZ &  theXYZ 
)

◆ ComputeParameters() [2/3]

void StdMeshers_SMESHBlock::ComputeParameters ( const gp_Pnt &  thePnt,
const TopoDS_Shape &  theShape,
gp_XYZ &  theXYZ 
)

◆ ComputeParameters() [3/3]

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

References myShell.

Referenced by StdMeshers_Penta_3D::MakeNodes().

◆ ErrorStatus()

int StdMeshers_SMESHBlock::ErrorStatus ( ) const

◆ GetError()

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().

◆ IsForwardEdge()

bool StdMeshers_SMESHBlock::IsForwardEdge ( const int  theEdgeID)

◆ Load() [1/2]

void StdMeshers_SMESHBlock::Load ( const TopoDS_Shell &  theShell)

◆ Load() [2/2]

void StdMeshers_SMESHBlock::Load ( const TopoDS_Shell &  theShell,
const TopoDS_Vertex &  theV000,
const TopoDS_Vertex &  theV001 
)

◆ Point() [1/2]

void StdMeshers_SMESHBlock::Point ( const gp_XYZ &  theParams,
const TopoDS_Shape &  theShape,
gp_Pnt &  thePnt 
)

◆ Point() [2/2]

void StdMeshers_SMESHBlock::Point ( const gp_XYZ &  theParams,
gp_Pnt &  thePnt 
)

◆ Shape()

◆ ShapeID()

int StdMeshers_SMESHBlock::ShapeID ( const TopoDS_Shape &  theShape)

Field Documentation

◆ myEmptyShape

TopoDS_Shape StdMeshers_SMESHBlock::myEmptyShape
protected

Referenced by Shape().

◆ myErrorStatus

int StdMeshers_SMESHBlock::myErrorStatus
protected

◆ myIsEdgeForward

std::vector<int> StdMeshers_SMESHBlock::myIsEdgeForward
protected

◆ myShapeIDMap

TopTools_IndexedMapOfOrientedShape StdMeshers_SMESHBlock::myShapeIDMap
protected

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

◆ myShell

TopoDS_Shell StdMeshers_SMESHBlock::myShell
protected

Referenced by ComputeParameters(), and Load().

◆ myTBlock

SMESH_Block StdMeshers_SMESHBlock::myTBlock
protected