Version: 8.3.0
SMESH_Block::TFace Class Reference

#include <SMESH_Block.hxx>

Public Member Functions

void Set (const int faceID, Adaptor3d_Surface *S, Adaptor2d_Curve2d *c2d[4], const bool isForward[4])
 Set face data. More...
 
void Set (const int faceID, const TEdge &edgeU0, const TEdge &edgeU1)
 Set face data to work with mesh block. More...
 
gp_XY GetUV (const gp_XYZ &theParams) const
 
gp_XYZ Point (const gp_XYZ &theParams) const
 
int GetUInd () const
 
int GetVInd () const
 
void GetCoefs (int i, const gp_XYZ &theParams, double &eCoef, double &vCoef) const
 
const Adaptor3d_SurfaceSurface () const
 
bool IsUVInQuad (const gp_XY &uv, const gp_XYZ &param0, const gp_XYZ &param1, const gp_XYZ &param2, const gp_XYZ &param3) const
 
gp_XY GetUVRange () const
 
 TFace ()
 
 ~TFace ()
 Destructor. More...
 

Private Attributes

int myCoordInd [4]
 
double myFirst [4]
 
double myLast [4]
 
Adaptor2d_Curve2dmyC2d [4]
 
gp_XY myCorner [4]
 
Adaptor3d_SurfacemyS
 
gp_XYZ myNodes [4]
 

Constructor & Destructor Documentation

SMESH_Block::TFace::TFace ( )
SMESH_Block::TFace::~TFace ( )

Destructor.

Member Function Documentation

void SMESH_Block::TFace::GetCoefs ( int  i,
const gp_XYZ &  theParams,
double &  eCoef,
double &  vCoef 
) const
gp_XY SMESH_Block::TFace::GetUV ( const gp_XYZ &  theParams) const
gp_XY SMESH_Block::TFace::GetUVRange ( ) const
bool SMESH_Block::TFace::IsUVInQuad ( const gp_XY &  uv,
const gp_XYZ &  param0,
const gp_XYZ &  param1,
const gp_XYZ &  param2,
const gp_XYZ &  param3 
) const
void SMESH_Block::TFace::Set ( const int  faceID,
Adaptor3d_Surface S,
Adaptor2d_Curve2d c2D[4],
const bool  isForward[4] 
)

Set face data.

Parameters
faceID- block sub-shape ID
S- face surface geometry
c2d- 4 pcurves in the order as returned by GetFaceEdgesIDs(faceID)
isForward- orientation of pcurves comparing with block edge direction

Referenced by StdMeshers_PrismAsBlock::Init(), SMESH_Block::LoadFace(), and SMESH_Block::LoadMeshBlock().

void SMESH_Block::TFace::Set ( const int  faceID,
const TEdge edgeU0,
const TEdge edgeU1 
)

Set face data to work with mesh block.

Parameters
faceID- block sub-shape ID
edgeU0- filled data of edge u0 = GetFaceEdgesIDs(faceID)[ 0 ]
edgeU1- filled data of edge u1 = GetFaceEdgesIDs(faceID)[ 1 ]

References SMESH_Block::TEdge::NodeXYZ().

const Adaptor3d_Surface* SMESH_Block::TFace::Surface ( ) const

Field Documentation

Adaptor2d_Curve2d* SMESH_Block::TFace::myC2d[4]
private
int SMESH_Block::TFace::myCoordInd[4]
private
gp_XY SMESH_Block::TFace::myCorner[4]
private
double SMESH_Block::TFace::myFirst[4]
private
double SMESH_Block::TFace::myLast[4]
private
gp_XYZ SMESH_Block::TFace::myNodes[4]
private
Adaptor3d_Surface* SMESH_Block::TFace::myS
private