Version: 9.12.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)
 
smIdType GetNbSegments (SMESH_ProxyMesh &mesh, const SMESHDS_SubMesh *smToCheckEdges=0) const
 
bool StoreNodes (SMESH_ProxyMesh &mesh, vector< const SMDS_MeshNode * > &myGrid, bool reverse, bool isProxy, const SMESHDS_SubMesh *smToCheckEdges=0)
 
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() [1/3]

_FaceSide::_FaceSide ( const _FaceSide other)

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

Referenced by _FaceSide().

◆ _FaceSide() [2/3]

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

Construct a face side of one edge.

References myVertices.

◆ _FaceSide() [3/3]

_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

◆ AppendSide()

void _FaceSide::AppendSide ( const _FaceSide side)

◆ Contain() [1/2]

bool _FaceSide::Contain ( const _FaceSide side,
int *  which = 0 
) const

◆ Contain() [2/2]

bool _FaceSide::Contain ( const TopoDS_Vertex &  vertex) const

References myVertices.

◆ Dump()

void _FaceSide::Dump ( ) const

◆ Edge()

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().

◆ FirstVertex()

TopoDS_Vertex _FaceSide::FirstVertex ( ) const

◆ GetNbSegments()

◆ GetSide() [1/2]

◆ GetSide() [2/2]

const _FaceSide * _FaceSide::GetSide ( const int  i) const

References GetSide().

◆ LastVertex()

TopoDS_Vertex _FaceSide::LastVertex ( ) const

◆ NbCommonVertices()

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

References myVertices.

◆ NbVertices()

int _FaceSide::NbVertices ( ) const

References myChildren, myNbChildren, and myVertices.

◆ ptr()

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

Referenced by Dump().

◆ SetBottomSide()

void _FaceSide::SetBottomSide ( int  i)

References myChildren, myID, and Q_PARENT.

Referenced by _QuadFaceGrid::SetBottomSide().

◆ SetID()

void _FaceSide::SetID ( EQuadSides  id)

Referenced by _QuadFaceGrid::Init().

◆ size()

int _FaceSide::size ( ) const

Referenced by _QuadFaceGrid::Init().

◆ StoreNodes()

bool _FaceSide::StoreNodes ( SMESH_ProxyMesh mesh,
vector< const SMDS_MeshNode * > &  myGrid,
bool  reverse,
bool  isProxy,
const SMESHDS_SubMesh smToCheckEdges = 0 
)

◆ Vertex()

TopoDS_Vertex _FaceSide::Vertex ( int  i) const

Field Documentation

◆ myChildren

◆ myEdge

TopoDS_Edge _FaceSide::myEdge
private

◆ myID

EQuadSides _FaceSide::myID
private

◆ myNbChildren

int _FaceSide::myNbChildren
private

◆ myVertices

TopTools_MapOfShape _FaceSide::myVertices
private