mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-28 18:30:35 +05:00
Add a method comment
This commit is contained in:
parent
8951167c87
commit
c8c3c7ed5d
@ -3709,6 +3709,12 @@ SMESH::NodePosition* SMESH_Mesh_i::GetNodePosition(CORBA::Long NodeID)
|
|||||||
return aNodePosition;
|
return aNodePosition;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//=============================================================================
|
||||||
|
/*!
|
||||||
|
* \brief Return position of an element on shape
|
||||||
|
*/
|
||||||
|
//=============================================================================
|
||||||
|
|
||||||
SMESH::ElementPosition SMESH_Mesh_i::GetElementPosition(CORBA::Long ElemID)
|
SMESH::ElementPosition SMESH_Mesh_i::GetElementPosition(CORBA::Long ElemID)
|
||||||
{
|
{
|
||||||
if ( _preMeshInfo )
|
if ( _preMeshInfo )
|
||||||
@ -3728,20 +3734,20 @@ SMESH::ElementPosition SMESH_Mesh_i::GetElementPosition(CORBA::Long ElemID)
|
|||||||
if ( !aSp.IsNull() ) {
|
if ( !aSp.IsNull() ) {
|
||||||
switch ( aSp.ShapeType() ) {
|
switch ( aSp.ShapeType() ) {
|
||||||
case TopAbs_EDGE:
|
case TopAbs_EDGE:
|
||||||
anElementPosition.shapeType = GEOM::EDGE;
|
anElementPosition.shapeType = GEOM::EDGE;
|
||||||
break;
|
break;
|
||||||
case TopAbs_FACE:
|
case TopAbs_FACE:
|
||||||
anElementPosition.shapeType = GEOM::FACE;
|
anElementPosition.shapeType = GEOM::FACE;
|
||||||
break;
|
break;
|
||||||
case TopAbs_VERTEX:
|
case TopAbs_VERTEX:
|
||||||
anElementPosition.shapeType = GEOM::VERTEX;
|
anElementPosition.shapeType = GEOM::VERTEX;
|
||||||
break;
|
break;
|
||||||
case TopAbs_SOLID:
|
case TopAbs_SOLID:
|
||||||
anElementPosition.shapeType = GEOM::SOLID;
|
anElementPosition.shapeType = GEOM::SOLID;
|
||||||
break;
|
break;
|
||||||
case TopAbs_SHELL:
|
case TopAbs_SHELL:
|
||||||
anElementPosition.shapeType = GEOM::SHELL;
|
anElementPosition.shapeType = GEOM::SHELL;
|
||||||
break;
|
break;
|
||||||
default:;
|
default:;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user