Back to index

salome-smesh  6.5.0
Public Member Functions | Private Attributes
STDMESHERS_EXPORT::TSideFace Class Reference

Class representing a part of a geom face or a union of seleral faces. More...

Collaboration diagram for STDMESHERS_EXPORT::TSideFace:
Collaboration graph

List of all members.

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_Surface * Surface () const
bool GetPCurves (Adaptor2d_Curve2d *pcurv[4]) const
Adaptor2d_Curve2d * HorizPCurve (const bool isTop, const TopoDS_Face &horFace) const
Adaptor3d_Curve * HorizCurve (const bool isTop) const
Adaptor3d_Curve * VertiCurve (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
void dumpNodes (int nbNodes) const

Private Attributes

int myID
 in-block ID
BRepAdaptor_Surface mySurface
TopoDS_Edge myBaseEdge
std::vector< std::pair< double,
double > > 
bool myIsForward
std::vector< TSideFace * > myComponents
SMESH_MesherHelper * myHelper

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 254 of file StdMeshers_Prism_3D.hxx.

Constructor & Destructor Documentation

STDMESHERS_EXPORT::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 

Here is the caller graph for this function:

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

Member Function Documentation

const TopoDS_Edge& STDMESHERS_EXPORT::TSideFace::BaseEdge ( ) const [inline]

Definition at line 284 of file StdMeshers_Prism_3D.hxx.

{ return myBaseEdge; }

Definition at line 285 of file StdMeshers_Prism_3D.hxx.

      if ( NbComponents() ) return GetComponent(0)->GetColumns()->begin()->second.size();
      else                  return GetColumns()->begin()->second.size(); }

Here is the call graph for this function:

void STDMESHERS_EXPORT::TSideFace::dumpNodes ( int  nbNodes) const
int STDMESHERS_EXPORT::TSideFace::FaceID ( ) const [inline]

Definition at line 280 of file StdMeshers_Prism_3D.hxx.

{ return myID; }

Definition at line 281 of file StdMeshers_Prism_3D.hxx.

{ return myParamToColumnMap; }

Here is the caller graph for this function:

double STDMESHERS_EXPORT::TSideFace::GetColumns ( const double  U,
TParam2ColumnIt col1,
TParam2ColumnIt col2 
) const
TSideFace* STDMESHERS_EXPORT::TSideFace::GetComponent ( const int  i) const [inline]

Definition at line 290 of file StdMeshers_Prism_3D.hxx.

{ return i ); }

Here is the caller graph for this function:

TSideFace* STDMESHERS_EXPORT::TSideFace::GetComponent ( const double  U,
double &  localU 
) const
TopoDS_Edge STDMESHERS_EXPORT::TSideFace::GetEdge ( const int  edge) const
gp_XY STDMESHERS_EXPORT::TSideFace::GetNodeUV ( const TopoDS_Face &  F,
const SMDS_MeshNode *  n 
) const [inline]

Definition at line 282 of file StdMeshers_Prism_3D.hxx.

    { return myHelper->GetNodeUV( F, n ); }
bool STDMESHERS_EXPORT::TSideFace::GetPCurves ( Adaptor2d_Curve2d *  pcurv[4]) const
Adaptor3d_Curve* STDMESHERS_EXPORT::TSideFace::HorizCurve ( const bool  isTop) const
Adaptor2d_Curve2d* STDMESHERS_EXPORT::TSideFace::HorizPCurve ( const bool  isTop,
const TopoDS_Face &  horFace 
) const
bool STDMESHERS_EXPORT::TSideFace::IsComplex ( ) const [inline]

Definition at line 278 of file StdMeshers_Prism_3D.hxx.

    { return ( NbComponents() > 0 || myParams[0].first != 0. || myParams[0].second != 1. ); }

Here is the call graph for this function:

bool STDMESHERS_EXPORT::TSideFace::IsForward ( ) const [inline]

Definition at line 294 of file StdMeshers_Prism_3D.hxx.

{ return myIsForward; }

Definition at line 289 of file StdMeshers_Prism_3D.hxx.

{ return myComponents.size(); }

Here is the caller graph for this function:

void STDMESHERS_EXPORT::TSideFace::SetComponent ( const int  i,
TSideFace c 
) [inline]

Definition at line 291 of file StdMeshers_Prism_3D.hxx.

    { if ( myComponents[i] ) delete myComponents[i]; myComponents[i]=c; }
Adaptor3d_Surface* STDMESHERS_EXPORT::TSideFace::Surface ( ) const [inline]

Definition at line 296 of file StdMeshers_Prism_3D.hxx.

{ return new TSideFace( *this ); }

Here is the call graph for this function:

gp_Pnt STDMESHERS_EXPORT::TSideFace::Value ( const Standard_Real  U,
const Standard_Real  V 
) const
Adaptor3d_Curve* STDMESHERS_EXPORT::TSideFace::VertiCurve ( const bool  isMax) const

Member Data Documentation

Definition at line 260 of file StdMeshers_Prism_3D.hxx.

Definition at line 264 of file StdMeshers_Prism_3D.hxx.

SMESH_MesherHelper* STDMESHERS_EXPORT::TSideFace::myHelper [private]

Definition at line 265 of file StdMeshers_Prism_3D.hxx.

in-block ID

Definition at line 256 of file StdMeshers_Prism_3D.hxx.

Definition at line 263 of file StdMeshers_Prism_3D.hxx.

std::vector< std::pair< double, double> > STDMESHERS_EXPORT::TSideFace::myParams [private]

Definition at line 262 of file StdMeshers_Prism_3D.hxx.

Definition at line 258 of file StdMeshers_Prism_3D.hxx.

BRepAdaptor_Surface STDMESHERS_EXPORT::TSideFace::mySurface [private]

Definition at line 259 of file StdMeshers_Prism_3D.hxx.

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