Version: 8.3.0
_FaceSide Class Reference

Wrapper of a composite or an ordinary edge. More...

Public Member Functions

 _FaceSide (const _FaceSide &other)
 
 _FaceSide (const TopoDS_Edge &edge=TopoDS_Edge())
 Construct a face side of one edge. More...
 
 _FaceSide (const list< TopoDS_Edge > &edges)
 Construct a face side of several edges. More...
 
_FaceSideGetSide (const int i)
 
const _FaceSideGetSide (const int i) const
 
int size () const
 
int NbVertices () const
 
int NbCommonVertices (const TopTools_MapOfShape &VV) const
 
TopoDS_Vertex FirstVertex () const
 
TopoDS_Vertex LastVertex () const
 
TopoDS_Vertex Vertex (int i) const
 
TopoDS_Edge Edge (int i) const
 Return i-the zero-based edge of the side. More...
 
bool Contain (const _FaceSide &side, int *which=0) const
 
bool Contain (const TopoDS_Vertex &vertex) const
 
void AppendSide (const _FaceSide &side)
 
void SetBottomSide (int i)
 
int GetNbSegments (SMESH_Mesh &mesh) const
 
bool StoreNodes (SMESH_Mesh &mesh, vector< const SMDS_MeshNode * > &myGrid, bool reverse)
 
void SetID (EQuadSides id)
 
void Dump () const
 

Static Public Member Functions

static const TopoDS_TShape * ptr (const TopoDS_Shape &theShape)
 

Private Attributes

TopoDS_Edge myEdge
 
list< _FaceSidemyChildren
 
int myNbChildren
 
TopTools_MapOfShape myVertices
 
EQuadSides myID
 

Detailed Description

Wrapper of a composite or an ordinary edge.

Constructor & Destructor Documentation

_FaceSide::_FaceSide ( const _FaceSide other)

References myChildren, myEdge, myID, myNbChildren, and myVertices.

Referenced by _FaceSide().

_FaceSide::_FaceSide ( const TopoDS_Edge &  edge = TopoDS_Edge())

Construct a face side of one edge.

References myVertices.

_FaceSide::_FaceSide ( const list< TopoDS_Edge > &  edges)

Construct a face side of several edges.

References _FaceSide(), myChildren, myNbChildren, myVertices, and Q_CHILD.

Member Function Documentation

void _FaceSide::AppendSide ( const _FaceSide side)
bool _FaceSide::Contain ( const _FaceSide side,
int which = 0 
) const
bool _FaceSide::Contain ( const TopoDS_Vertex &  vertex) const

References myVertices.

void _FaceSide::Dump ( ) const
TopoDS_Edge _FaceSide::Edge ( int  i) const

Return i-the zero-based edge of the side.

References GetSide(), and myEdge.

Referenced by _QuadFaceGrid::AddContinuousFace(), and _QuadFaceGrid::GetHoriEdges().

TopoDS_Vertex _FaceSide::FirstVertex ( ) const
int _FaceSide::GetNbSegments ( SMESH_Mesh mesh) const
const _FaceSide * _FaceSide::GetSide ( const int  i) const

References GetSide().

TopoDS_Vertex _FaceSide::LastVertex ( ) const
int _FaceSide::NbCommonVertices ( const TopTools_MapOfShape &  VV) const

References myVertices.

int _FaceSide::NbVertices ( ) const

References myChildren, myNbChildren, and myVertices.

static const TopoDS_TShape* _FaceSide::ptr ( const TopoDS_Shape &  theShape)
static

Referenced by Dump().

void _FaceSide::SetBottomSide ( int  i)

References myChildren, myID, and Q_PARENT.

Referenced by _QuadFaceGrid::SetBottomSide().

void _FaceSide::SetID ( EQuadSides  id)

Referenced by _QuadFaceGrid::Init().

int _FaceSide::size ( ) const

Referenced by _QuadFaceGrid::Init().

bool _FaceSide::StoreNodes ( SMESH_Mesh mesh,
vector< const SMDS_MeshNode * > &  myGrid,
bool  reverse 
)
TopoDS_Vertex _FaceSide::Vertex ( int  i) const

Field Documentation

TopoDS_Edge _FaceSide::myEdge
private
EQuadSides _FaceSide::myID
private
int _FaceSide::myNbChildren
private
TopTools_MapOfShape _FaceSide::myVertices
private