SMDS_VolumeOfFaces Class Reference
#include <SMDS_VolumeOfFaces.hxx>
Public Member Functions |
| SMDS_VolumeOfFaces (const SMDS_MeshFace *face1, const SMDS_MeshFace *face2, const SMDS_MeshFace *face3, const SMDS_MeshFace *face4) |
| SMDS_VolumeOfFaces (const SMDS_MeshFace *face1, const SMDS_MeshFace *face2, const SMDS_MeshFace *face3, const SMDS_MeshFace *face4, const SMDS_MeshFace *face5) |
| SMDS_VolumeOfFaces (const SMDS_MeshFace *face1, const SMDS_MeshFace *face2, const SMDS_MeshFace *face3, const SMDS_MeshFace *face4, const SMDS_MeshFace *face5, const SMDS_MeshFace *face6) |
virtual SMDSAbs_EntityType | GetEntityType () const |
| Return type of entity.
|
void | Print (std::ostream &OS) const |
int | NbFaces () const |
SMDSAbs_ElementType | GetType () const |
| Return the type of the current element.
|
SMDS_ElemIteratorPtr | nodesIterator () const |
SMDS_ElemIteratorPtr | edgesIterator () const |
SMDS_ElemIteratorPtr | facesIterator () const |
virtual int | NbNodes () const |
virtual int | NbEdges () const |
int | GetID () const |
virtual bool | IsPoly () const |
virtual bool | IsQuadratic () const |
virtual bool | IsMediumNode (const SMDS_MeshNode *node) const |
virtual const SMDS_MeshNode * | GetNode (const int ind) const |
| Return node by its index.
|
const SMDS_MeshNode * | GetNodeWrap (const int ind) const |
| Return node by its index.
|
virtual bool | IsValidIndex (const int ind) const |
| Return true if index of node is valid (0 <= ind < NbNodes()).
|
int | WrappedIndex (const int ind) const |
| Return a valid node index, fixing the given one if necessary.
|
int | GetNodeIndex (const SMDS_MeshNode *node) const |
| Check if a node belongs to the element.
|
Protected Member Functions |
SMDS_ElemIteratorPtr | elementsIterator (SMDSAbs_ElementType type) const |
Protected Attributes |
const SMDS_MeshFace * | myFaces [6] |
int | myNbFaces |
Friends |
SMDS_EXPORT std::ostream & | operator<< (std::ostream &OS, const SMDS_MeshElement *) |
SMDS_EXPORT bool | SMDS_MeshElementIDFactory::BindID (int ID, SMDS_MeshElement *elem) |
Detailed Description
Definition at line 37 of file SMDS_VolumeOfFaces.hxx.
Constructor & Destructor Documentation
Member Function Documentation
void SMDS_VolumeOfFaces.Print |
( |
std::ostream & |
OS |
) |
const [virtual] |
int SMDS_VolumeOfFaces.NbFaces |
( |
|
) |
const [virtual] |
virtual int SMDS_MeshElement.NbNodes |
( |
|
) |
const [virtual, inherited] |
Reimplemented in SMDS_FaceOfEdges, SMDS_FaceOfNodes, SMDS_Mesh0DElement, SMDS_MeshEdge, SMDS_MeshNode, SMDS_PolygonalFaceOfNodes, SMDS_PolyhedralVolumeOfNodes, SMDS_QuadraticEdge, SMDS_QuadraticFaceOfNodes, SMDS_QuadraticVolumeOfNodes, and SMDS_VolumeOfNodes.
Referenced by SMDS_MeshInfo.add(), and SMDS_MeshInfo.remove().
virtual int SMDS_MeshElement.NbEdges |
( |
|
) |
const [virtual, inherited] |
int SMDS_MeshElement.GetID |
( |
|
) |
const [inherited] |
virtual bool SMDS_MeshElement.IsPoly |
( |
|
) |
const [virtual, inherited] |
virtual bool SMDS_MeshElement.IsQuadratic |
( |
|
) |
const [virtual, inherited] |
virtual bool SMDS_MeshElement.IsMediumNode |
( |
const SMDS_MeshNode * |
node |
) |
const [virtual, inherited] |
virtual const SMDS_MeshNode* SMDS_MeshElement.GetNode |
( |
const int |
ind |
) |
const [virtual, inherited] |
const SMDS_MeshNode* SMDS_MeshElement.GetNodeWrap |
( |
const int |
ind |
) |
const [inherited] |
Return node by its index.
- Parameters:
-
- Return values:
-
| const | SMDS_MeshNode* - the node |
Index is wrapped if it is out of a valid range
Definition at line 92 of file SMDS_MeshElement.hxx.
virtual bool SMDS_MeshElement.IsValidIndex |
( |
const int |
ind |
) |
const [virtual, inherited] |
Return true if index of node is valid (0 <= ind < NbNodes()).
- Parameters:
-
- Return values:
-
| bool | - index check result |
int SMDS_MeshElement.WrappedIndex |
( |
const int |
ind |
) |
const [inherited] |
Return a valid node index, fixing the given one if necessary.
- Parameters:
-
- Return values:
-
Definition at line 106 of file SMDS_MeshElement.hxx.
int SMDS_MeshElement.GetNodeIndex |
( |
const SMDS_MeshNode * |
node |
) |
const [inherited] |
Check if a node belongs to the element.
- Parameters:
-
- Return values:
-
| int | - node index within the element, -1 if not found |
Friends And Related Function Documentation
SMDS_EXPORT std::ostream& operator<< |
( |
std::ostream & |
OS, |
|
|
const SMDS_MeshElement * |
| |
|
) |
| | [friend, inherited] |
SMDS_EXPORT bool SMDS_MeshElementIDFactory::BindID |
( |
int |
ID, |
|
|
SMDS_MeshElement * |
elem | |
|
) |
| | [friend, inherited] |
Field Documentation