StdMeshers_SMESHBlock Class Reference

#include <StdMeshers_Penta_3D.hxx>

Public Member Functions

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

Protected Attributes

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

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 
)

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

◆ IsForwadEdge()

◆ Load() [1/2]

void StdMeshers_SMESHBlock::Load ( const TopoDS_Shell &  theShell)

References Load().

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

◆ 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 
)

References Point().

Referenced by StdMeshers_Penta_3D::FindNodeOnShape(), and Point().

◆ Shape()

◆ ShapeID()

int StdMeshers_SMESHBlock::ShapeID ( const TopoDS_Shape &  theShape)

Member Data 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 IsForwadEdge(), Load(), Shape(), and ShapeID().

◆ myShell

TopoDS_Shell StdMeshers_SMESHBlock::myShell
protected

Referenced by ComputeParameters(), and Load().

◆ myTBlock

SMESH_Block StdMeshers_SMESHBlock::myTBlock
protected

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