SALOME - SMESH
StdMeshers_PrismAsBlock::TSideFace Class Reference

Class representing a part of a geom face or a union of seleral faces. Or just an ordinary geom face. More...

Inheritance diagram for StdMeshers_PrismAsBlock::TSideFace:
Inheritance graph
Collaboration diagram for StdMeshers_PrismAsBlock::TSideFace:
Collaboration graph

Public Member Functions

 TSideFace (SMESH_MesherHelper *helper, const int faceID, const TopoDS_Face &face, const TopoDS_Edge &baseEdge, TParam2ColumnMap *columnsMap, const double first=0.0, const double last=1.0)
 
 TSideFace (const std::vector< TSideFace * > &components, const std::vector< std::pair< double, double > > &params)
 
 TSideFace (const TSideFace &other)
 
 ~TSideFace ()
 
bool IsComplex () const
 
int FaceID () const
 
TParam2ColumnMapGetColumns () const
 
gp_XY GetNodeUV (const TopoDS_Face &F, const SMDS_MeshNode *n) const
 
const TopoDS_Edge & BaseEdge () const
 
int ColumnHeight () const
 
double GetColumns (const double U, TParam2ColumnIt &col1, TParam2ColumnIt &col2) const
 
int NbComponents () const
 
TSideFaceGetComponent (const int i) const
 
void SetComponent (const int i, TSideFace *c)
 
TSideFaceGetComponent (const double U, double &localU) const
 
bool IsForward () const
 
Adaptor3d_SurfaceSurface () const
 
bool GetPCurves (Adaptor2d_Curve2d *pcurv[4]) const
 
Adaptor2d_Curve2dHorizPCurve (const bool isTop, const TopoDS_Face &horFace) const
 
Adaptor3d_CurveHorizCurve (const bool isTop) const
 
Adaptor3d_CurveVertiCurve (const bool isMax) const
 
TopoDS_Edge GetEdge (const int edge) const
 
int InsertSubShapes (TBlockShapes &shapeMap) const
 
gp_Pnt Value (const Standard_Real U, const Standard_Real V) const
 

Private Attributes

int myID
 in-block ID More...
 
TParam2ColumnMapmyParamToColumnMap
 
BRepAdaptor_Surface mySurface
 
TopoDS_Edge myBaseEdge
 
std::vector< std::pair< double, double > > myParams
 
bool myIsForward
 
std::vector< TSideFace *> myComponents
 
SMESH_MesherHelpermyHelper
 

Detailed Description

Class representing a part of a geom face or a union of seleral faces. Or just an ordinary geom face.

It's parametrization is within [0,1] range. It redefines Adaptor3d_Surface::Value(U,V) where U and V are within [0,1]

Definition at line 236 of file StdMeshers_Prism_3D.hxx.

Constructor & Destructor Documentation

◆ TSideFace() [1/3]

StdMeshers_PrismAsBlock::TSideFace::TSideFace ( SMESH_MesherHelper helper,
const int  faceID,
const TopoDS_Face &  face,
const TopoDS_Edge &  baseEdge,
TParam2ColumnMap columnsMap,
const double  first = 0.0,
const double  last = 1.0 
)

◆ TSideFace() [2/3]

StdMeshers_PrismAsBlock::TSideFace::TSideFace ( const std::vector< TSideFace * > &  components,
const std::vector< std::pair< double, double > > &  params 
)

◆ TSideFace() [3/3]

StdMeshers_PrismAsBlock::TSideFace::TSideFace ( const TSideFace other)

◆ ~TSideFace()

StdMeshers_PrismAsBlock::TSideFace::~TSideFace ( )

Member Function Documentation

◆ IsComplex()

bool StdMeshers_PrismAsBlock::TSideFace::IsComplex ( ) const

Definition at line 260 of file StdMeshers_Prism_3D.hxx.

◆ FaceID()

int StdMeshers_PrismAsBlock::TSideFace::FaceID ( ) const

Definition at line 262 of file StdMeshers_Prism_3D.hxx.

◆ GetColumns() [1/2]

TParam2ColumnMap* StdMeshers_PrismAsBlock::TSideFace::GetColumns ( ) const

Definition at line 263 of file StdMeshers_Prism_3D.hxx.

◆ GetNodeUV()

gp_XY StdMeshers_PrismAsBlock::TSideFace::GetNodeUV ( const TopoDS_Face &  F,
const SMDS_MeshNode n 
) const

Definition at line 264 of file StdMeshers_Prism_3D.hxx.

References SMESH_MesherHelper::GetNodeUV().

Here is the call graph for this function:

◆ BaseEdge()

const TopoDS_Edge& StdMeshers_PrismAsBlock::TSideFace::BaseEdge ( ) const

Definition at line 266 of file StdMeshers_Prism_3D.hxx.

◆ ColumnHeight()

int StdMeshers_PrismAsBlock::TSideFace::ColumnHeight ( ) const

Definition at line 267 of file StdMeshers_Prism_3D.hxx.

◆ GetColumns() [2/2]

double StdMeshers_PrismAsBlock::TSideFace::GetColumns ( const double  U,
TParam2ColumnIt col1,
TParam2ColumnIt col2 
) const

◆ NbComponents()

int StdMeshers_PrismAsBlock::TSideFace::NbComponents ( ) const

Definition at line 271 of file StdMeshers_Prism_3D.hxx.

◆ GetComponent() [1/2]

TSideFace* StdMeshers_PrismAsBlock::TSideFace::GetComponent ( const int  i) const

Definition at line 272 of file StdMeshers_Prism_3D.hxx.

◆ SetComponent()

void StdMeshers_PrismAsBlock::TSideFace::SetComponent ( const int  i,
TSideFace c 
)

Definition at line 273 of file StdMeshers_Prism_3D.hxx.

◆ GetComponent() [2/2]

TSideFace* StdMeshers_PrismAsBlock::TSideFace::GetComponent ( const double  U,
double &  localU 
) const

◆ IsForward()

bool StdMeshers_PrismAsBlock::TSideFace::IsForward ( ) const

Definition at line 276 of file StdMeshers_Prism_3D.hxx.

◆ Surface()

Adaptor3d_Surface* StdMeshers_PrismAsBlock::TSideFace::Surface ( ) const

Definition at line 278 of file StdMeshers_Prism_3D.hxx.

◆ GetPCurves()

bool StdMeshers_PrismAsBlock::TSideFace::GetPCurves ( Adaptor2d_Curve2d pcurv[4]) const

◆ HorizPCurve()

Adaptor2d_Curve2d* StdMeshers_PrismAsBlock::TSideFace::HorizPCurve ( const bool  isTop,
const TopoDS_Face &  horFace 
) const

◆ HorizCurve()

Adaptor3d_Curve* StdMeshers_PrismAsBlock::TSideFace::HorizCurve ( const bool  isTop) const

◆ VertiCurve()

Adaptor3d_Curve* StdMeshers_PrismAsBlock::TSideFace::VertiCurve ( const bool  isMax) const

◆ GetEdge()

TopoDS_Edge StdMeshers_PrismAsBlock::TSideFace::GetEdge ( const int  edge) const

◆ InsertSubShapes()

int StdMeshers_PrismAsBlock::TSideFace::InsertSubShapes ( TBlockShapes shapeMap) const

◆ Value()

gp_Pnt StdMeshers_PrismAsBlock::TSideFace::Value ( const Standard_Real  U,
const Standard_Real  V 
) const

Field Documentation

◆ myID

int StdMeshers_PrismAsBlock::TSideFace::myID
private

in-block ID

Definition at line 238 of file StdMeshers_Prism_3D.hxx.

◆ myParamToColumnMap

TParam2ColumnMap* StdMeshers_PrismAsBlock::TSideFace::myParamToColumnMap
private

Definition at line 240 of file StdMeshers_Prism_3D.hxx.

◆ mySurface

BRepAdaptor_Surface StdMeshers_PrismAsBlock::TSideFace::mySurface
private

Definition at line 241 of file StdMeshers_Prism_3D.hxx.

◆ myBaseEdge

TopoDS_Edge StdMeshers_PrismAsBlock::TSideFace::myBaseEdge
private

Definition at line 242 of file StdMeshers_Prism_3D.hxx.

◆ myParams

std::vector< std::pair< double, double> > StdMeshers_PrismAsBlock::TSideFace::myParams
private

Definition at line 244 of file StdMeshers_Prism_3D.hxx.

◆ myIsForward

bool StdMeshers_PrismAsBlock::TSideFace::myIsForward
private

Definition at line 245 of file StdMeshers_Prism_3D.hxx.

◆ myComponents

std::vector< TSideFace* > StdMeshers_PrismAsBlock::TSideFace::myComponents
private

Definition at line 246 of file StdMeshers_Prism_3D.hxx.

◆ myHelper

SMESH_MesherHelper* StdMeshers_PrismAsBlock::TSideFace::myHelper
private

Definition at line 247 of file StdMeshers_Prism_3D.hxx.