Version: 8.3.0
SMESH_Block::TEdge Class Reference

#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_CurveGetCurve () 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_CurvemyC3d
 
gp_XYZ myNodes [2]
 

Constructor & Destructor Documentation

SMESH_Block::TEdge::TEdge ( )
SMESH_Block::TEdge::~TEdge ( )

Destructor.

Member Function Documentation

int SMESH_Block::TEdge::CoordInd ( ) const
double SMESH_Block::TEdge::EndParam ( int  i) const
Adaptor3d_Curve* SMESH_Block::TEdge::GetCurve ( ) const
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
void SMESH_Block::TEdge::Set ( const int  edgeID,
Adaptor3d_Curve curve,
const bool  isForward 
)

Set edge data.

Parameters
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.

Parameters
edgeID- block sub-shape ID
node1- coordinates of node with lower ID
node2- coordinates of node with upper ID

References SMESH_Block::GetCoordIndOnEdge().

Field Documentation

Adaptor3d_Curve* SMESH_Block::TEdge::myC3d
private
int SMESH_Block::TEdge::myCoordInd
private
double SMESH_Block::TEdge::myFirst
private
double SMESH_Block::TEdge::myLast
private
gp_XYZ SMESH_Block::TEdge::myNodes[2]
private