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... | |
_FaceSide * | GetSide (const int i) |
const _FaceSide * | GetSide (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< _FaceSide > | myChildren |
int | myNbChildren |
TopTools_MapOfShape | myVertices |
EQuadSides | myID |
Wrapper of a composite or an ordinary edge.
_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.
void _FaceSide::AppendSide | ( | const _FaceSide & | side | ) |
References myChildren, myEdge, myID, myNbChildren, myVertices, and Q_PARENT.
Referenced by _QuadFaceGrid::AddContinuousFace(), and _QuadFaceGrid::Init().
References myChildren, and myVertices.
Referenced by _QuadFaceGrid::AddContinuousFace(), _QuadFaceGrid::GetNormal(), and _QuadFaceGrid::SetBottomSide().
bool _FaceSide::Contain | ( | const TopoDS_Vertex & | vertex | ) | const |
References myVertices.
void _FaceSide::Dump | ( | ) | const |
References FirstVertex(), LastVertex(), myChildren, myID, ptr(), Q_BOTTOM, and Q_PARENT.
Referenced by _QuadFaceGrid::DumpVertices().
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 |
References myChildren, and myEdge.
Referenced by _QuadFaceGrid::AddContinuousFace(), Dump(), _QuadFaceGrid::locateChildren(), _QuadFaceGrid::setBrothers(), and Vertex().
int _FaceSide::GetNbSegments | ( | SMESH_Mesh & | mesh | ) | const |
References myChildren, and myEdge.
Referenced by _QuadFaceGrid::GetNbHoriSegments(), _QuadFaceGrid::GetNbVertSegments(), and _QuadFaceGrid::LoadGrid().
References myChildren, and myNbChildren.
Referenced by _QuadFaceGrid::AddContinuousFace(), _QuadFaceGrid::DumpVertices(), Edge(), _QuadFaceGrid::GetHoriEdges(), _QuadFaceGrid::GetNbHoriSegments(), _QuadFaceGrid::GetNbVertSegments(), GetSide(), _QuadFaceGrid::GetSide(), _QuadFaceGrid::Init(), _QuadFaceGrid::LoadGrid(), and Vertex().
TopoDS_Vertex _FaceSide::LastVertex | ( | ) | const |
References myChildren, and myEdge.
Referenced by _QuadFaceGrid::AddContinuousFace(), Dump(), _QuadFaceGrid::setBrothers(), and Vertex().
int _FaceSide::NbCommonVertices | ( | const TopTools_MapOfShape & | VV | ) | const |
References myVertices.
int _FaceSide::NbVertices | ( | ) | const |
References myChildren, myNbChildren, and myVertices.
|
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 | ||
) |
References SMESH_Algo::GetSortedNodesOnEdge(), myChildren, and myEdge.
Referenced by _QuadFaceGrid::LoadGrid().
TopoDS_Vertex _FaceSide::Vertex | ( | int | i | ) | const |
References FirstVertex(), GetSide(), LastVertex(), myChildren, and myNbChildren.
|
private |
Referenced by _FaceSide(), AppendSide(), Contain(), Dump(), FirstVertex(), GetNbSegments(), GetSide(), LastVertex(), NbVertices(), SetBottomSide(), StoreNodes(), and Vertex().
|
private |
Referenced by _FaceSide(), AppendSide(), Edge(), FirstVertex(), GetNbSegments(), LastVertex(), and StoreNodes().
|
private |
Referenced by _FaceSide(), AppendSide(), Dump(), and SetBottomSide().
|
private |
Referenced by _FaceSide(), AppendSide(), GetSide(), NbVertices(), and Vertex().
|
private |
Referenced by _FaceSide(), AppendSide(), Contain(), NbCommonVertices(), and NbVertices().