#include <SMESH_Block.hxx>
Public Member Functions | |
void | Set (const int edgeID, Adaptor3d_Curve *curve, const bool isForward) |
Set edge data. More... | |
void | Set (const int edgeID, const gp_XYZ &node1, const gp_XYZ &node2) |
Set coordinates of nodes at edge ends to work with mesh block. More... | |
Adaptor3d_Curve * | GetCurve () const |
double | EndParam (int i) const |
int | CoordInd () const |
const gp_XYZ & | NodeXYZ (int i) const |
gp_XYZ | Point (const gp_XYZ &theParams) const |
double | GetU (const gp_XYZ &theParams) const |
TEdge () | |
~TEdge () | |
Destructor. More... | |
Private Attributes | |
int | myCoordInd |
double | myFirst |
double | myLast |
Adaptor3d_Curve * | myC3d |
gp_XYZ | myNodes [2] |
SMESH_Block::TEdge::TEdge | ( | ) |
SMESH_Block::TEdge::~TEdge | ( | ) |
Destructor.
int SMESH_Block::TEdge::CoordInd | ( | ) | const |
Referenced by SMESH_Block::EdgeParameters().
double SMESH_Block::TEdge::EndParam | ( | int | i | ) | const |
Referenced by SMESH_Block::EdgeParameters().
Adaptor3d_Curve* SMESH_Block::TEdge::GetCurve | ( | ) | const |
Referenced by SMESH_Block::ComputeParameters(), and StdMeshers_PrismAsBlock::Init().
double SMESH_Block::TEdge::GetU | ( | const gp_XYZ & | theParams | ) | const |
const gp_XYZ& SMESH_Block::TEdge::NodeXYZ | ( | int | i | ) | const |
Referenced by SMESH_Block::TFace::Set().
gp_XYZ SMESH_Block::TEdge::Point | ( | const gp_XYZ & | theParams | ) | const |
Referenced by SMESH_Block::ComputeParameters().
void SMESH_Block::TEdge::Set | ( | const int | edgeID, |
Adaptor3d_Curve * | curve, | ||
const bool | isForward | ||
) |
Set edge data.
edgeID | - block sub-shape ID |
curve | - edge geometry |
isForward | - is curve orientation coincides with edge orientation in the block |
References SMESH_Block::GetCoordIndOnEdge().
Referenced by StdMeshers_PrismAsBlock::Init(), SMESH_Block::LoadBlockShapes(), and SMESH_Block::LoadMeshBlock().
void SMESH_Block::TEdge::Set | ( | const int | edgeID, |
const gp_XYZ & | node1, | ||
const gp_XYZ & | node2 | ||
) |
Set coordinates of nodes at edge ends to work with mesh block.
edgeID | - block sub-shape ID |
node1 | - coordinates of node with lower ID |
node2 | - coordinates of node with upper ID |
References SMESH_Block::GetCoordIndOnEdge().
|
private |
|
private |
|
private |
|
private |
|
private |