# OCC.SMDS module

class `SMDS_0DElementIteratorPtr`(*args, **kwargs)

  Bases: `object`

  `more`()
    - /// Return true if and only if there are other object in this iterator

    Return type: | bool

  `next`()
    - /// Return the current object and step to the next one

    Return type: | VALUE

  `remove`()
    - /// Delete the current element and step to the next one

    Return type: | None

  `thisown`

    The membership flag

class `SMDS_EdgeIteratorPtr`(*args, **kwargs)

  Bases: `object`

  `more`()
    - /// Return true if and only if there are other object in this iterator

    Return type: | bool

  `next`()
    - /// Return the current object and step to the next one

    Return type: | VALUE

  `remove`()
    - /// Delete the current element and step to the next one

    Return type: | None

  `thisown`

    The membership flag

class `SMDS_EdgePosition`(*args)

  Bases: `object`

  Parameters: | aEdgeId (int) – default value is 0 aUParam (double) – default value is 0
  Return type: | None

  `Coords`()

    Return type: | double *

  `GetTypeOfPosition`()

    Return type: | SMDS_TypeOfPosition

  `GetUParameter`()

    Return type: | double

  `SetUParameter`()

    Parameters: | aUparam (double) –
    Return type: | None

  `thisown`

    The membership flag

class `SMDS_ElemIteratorPtr`(*args, **kwargs)

  Bases: `object`

  `more`()
    - /// Return true if and only if there are other object in this iterator

    Return type: | bool

  `next`()
    - /// Return the current object and step to the next one

    Return type: | VALUE

  `remove`()
    - /// Delete the current element and step to the next one

    Return type: | None

  `thisown`

    The membership flag

class `SMDS_FaceIteratorPtr`(*args, **kwargs)

  Bases: `object`

  `more`()
    - /// Return true if and only if there are other object in this iterator

    Return type: | bool

  `next`()
    - /// Return the current object and step to the next one

    Return type: | VALUE

  `remove`()
    - /// Delete the current element and step to the next one

    Return type: | None

  `thisown`

    The membership flag

class `SMDS_FaceOfEdges`(*args)

  Bases: `OCC.SMDS.SMDS_MeshFace`

  Parameters: | edge1 (SMDS_MeshEdge *) – edge2 (SMDS_MeshEdge *) – edge3 (SMDS_MeshEdge *) – edge1 – edge2 – edge3 – edge4 (SMDS_MeshEdge *) –
  Return type: | None
  Return type: | None

  `GetEntityType`()

    Return type: | SMDSAbs_EntityType

  `GetNode`()
    - /! * rief Return node by its index * param ind - node index * etval const SMDS_MeshNode - the node */

    Parameters: | ind (int) –
    Return type: | SMDS_MeshNode *

  `GetType`()

    Return type: | SMDSAbs_ElementType

  `NbEdges`()

    Return type: | int

  `NbFaces`()

    Return type: | int

  `NbNodes`()

    Return type: | int

  `Print`()

    Parameters: | OS (std::ostream &) –
    Return type: | None

  `thisown`

    The membership flag

class `SMDS_FaceOfNodes`(*args)

  Bases: `OCC.SMDS.SMDS_MeshFace`

  Parameters: | node1 (SMDS_MeshNode *) – node2 (SMDS_MeshNode *) – node3 (SMDS_MeshNode *) – node1 – node2 – node3 – node4 (SMDS_MeshNode *) –
  Return type: | None
  Return type: | None

  `GetEntityType`()

    Return type: | SMDSAbs_EntityType

  `GetNode`()
    - /! * rief Return node by its index * param ind - node index * etval const SMDS_MeshNode - the node */

    Parameters: | ind (int) –
    Return type: | SMDS_MeshNode *

  `NbEdges`()

    Return type: | int

  `NbFaces`()

    Return type: | int

  `NbNodes`()

    Return type: | int

  `Print`()

    Parameters: | OS (std::ostream &) –
    Return type: | None

  `thisown`

    The membership flag

class `SMDS_FacePosition`(*args)

  Bases: `object`

  Parameters: | aFaceId (int) – default value is 0 aUParam (double) – default value is 0 aVParam (double) – default value is 0
  Return type: | None

  `Coords`()

    Return type: | double *

  `GetTypeOfPosition`()

    Return type: | SMDS_TypeOfPosition

  `GetUParameter`()

    Return type: | double

  `GetVParameter`()

    Return type: | double

  `SetUParameter`()

    Parameters: | aUparam (double) –
    Return type: | None

  `SetVParameter`()

    Parameters: | aVparam (double) –
    Return type: | None

  `thisown`

    The membership flag

class `SMDS_IteratorOfElements`(*args)

  Bases: `OCC.SMDS.SMDS_ElemIteratorPtr`

  - ///////////////////////////////////////////////////////////////////////////// /// Create an iterator which look for elements of type type which are linked /// to the element element. it is the iterator to get connectivity of element //////////////////////////////////////////////////////////////////////////////

  Parameters: | element (SMDS_MeshElement *) – type (SMDSAbs_ElementType) – it (SMDS_ElemIteratorPtr &) –
  Return type: | None

  `more`()

    Return type: | bool

  `next`()

    Return type: | SMDS_MeshElement *

  `thisown`

    The membership flag

class `SMDS_Mesh`(*args)

  Bases: `object`

  Return type: | None

  `Add0DElement`()

    Parameters: | n (SMDS_MeshNode *) –
    Return type: | SMDS_Mesh0DElement *

  `Add0DElementWithID`()

    Parameters: | n (SMDS_MeshNode *) – ID (int) – n – ID –
    Return type: | SMDS_Mesh0DElement *
    Return type: | SMDS_Mesh0DElement *

  `AddEdge`()

    Parameters: | n1 (SMDS_MeshNode *) – n2 (SMDS_MeshNode *) – n1 – n2 – n12 (SMDS_MeshNode *) –
    Return type: | SMDS_MeshEdge *
    Return type: | SMDS_MeshEdge *

  `AddEdgeWithID`()

    Parameters: | n1 (SMDS_MeshNode *) – n2 (SMDS_MeshNode *) – ID (int) – n1 – n2 – ID – n1 – n2 – n12 (SMDS_MeshNode *) – ID – n1 – n2 – n12 – ID –
    Return type: | SMDS_MeshEdge *
    Return type: | SMDS_MeshEdge *
    Return type: | SMDS_MeshEdge *
    Return type: | SMDS_MeshEdge *

  `AddFace`()

    Parameters: | n1 (SMDS_MeshNode *) – n2 (SMDS_MeshNode *) – n3 (SMDS_MeshNode *) – n1 – n2 – n3 – n4 (SMDS_MeshNode *) – e1 (SMDS_MeshEdge *) – e2 (SMDS_MeshEdge *) – e3 (SMDS_MeshEdge *) – e1 – e2 – e3 – e4 (SMDS_MeshEdge *) – n1 – n2 – n3 – n12 (SMDS_MeshNode *) – n23 (SMDS_MeshNode *) – n31 (SMDS_MeshNode *) – n1 – n2 – n3 – n4 – n12 – n23 – n34 (SMDS_MeshNode *) – n41 (SMDS_MeshNode *) –
    Return type: | SMDS_MeshFace *
    Return type: | SMDS_MeshFace *
    Return type: | SMDS_MeshFace *
    Return type: | SMDS_MeshFace *
    Return type: | SMDS_MeshFace *
    Return type: | SMDS_MeshFace *

  `AddFaceWithID`()

    Parameters: | n1 (SMDS_MeshNode *) – n2 (SMDS_MeshNode *) – n3 (SMDS_MeshNode *) – ID (int) – n1 – n2 – n3 – ID – n1 – n2 – n3 – n4 (SMDS_MeshNode *) – ID – n1 – n2 – n3 – n4 – ID – e1 (SMDS_MeshEdge *) – e2 (SMDS_MeshEdge *) – e3 (SMDS_MeshEdge *) – ID – e1 – e2 – e3 – e4 (SMDS_MeshEdge *) – ID – n1 – n2 – n3 – n12 (SMDS_MeshNode *) – n23 (SMDS_MeshNode *) – n31 (SMDS_MeshNode *) – ID – n1 – n2 – n3 – n12 – n23 – n31 – ID – n1 – n2 – n3 – n4 – n12 – n23 – n34 (SMDS_MeshNode *) – n41 (SMDS_MeshNode *) – ID – n1 – n2 – n3 – n4 – n12 – n23 – n34 – n41 – ID –
    Return type: | SMDS_MeshFace *
    Return type: | SMDS_MeshFace *
    Return type: | SMDS_MeshFace *
    Return type: | SMDS_MeshFace *
    Return type: | SMDS_MeshFace *
    Return type: | SMDS_MeshFace *
    Return type: | SMDS_MeshFace *
    Return type: | SMDS_MeshFace *
    Return type: | SMDS_MeshFace *
    Return type: | SMDS_MeshFace *

  `AddNode`()

    Parameters: | x (double) – y (double) – z (double) –
    Return type: | SMDS_MeshNode *

  `AddNodeWithID`()

    Parameters: | x (double) – y (double) – z (double) – ID (int) –
    Return type: | SMDS_MeshNode *

  `AddPolygonalFace`()

    Parameters: | nodes (std::vector< SMDS_MeshNode *>) –
    Return type: | SMDS_MeshFace *

  `AddPolygonalFaceWithID`()

    Parameters: | nodes_ids (std::vector<int>) – ID (int) – nodes (std::vector< SMDS_MeshNode *>) – ID –
    Return type: | SMDS_MeshFace *
    Return type: | SMDS_MeshFace *

  `AddPolyhedralVolume`()

    Parameters: | nodes (std::vector< SMDS_MeshNode *>) – quantities (std::vector<int>) –
    Return type: | SMDS_MeshVolume *

  `AddPolyhedralVolumeWithID`()

    Parameters: | nodes_ids (std::vector<int>) – quantities (std::vector<int>) – ID (int) – nodes (std::vector< SMDS_MeshNode *>) – quantities – ID –
    Return type: | SMDS_MeshVolume *
    Return type: | SMDS_MeshVolume *

  `AddSubMesh`()

    Return type: | SMDS_Mesh *

  `AddVolume`()

    Parameters: | n1 (SMDS_MeshNode *) – n2 (SMDS_MeshNode *) – n3 (SMDS_MeshNode *) – n4 (SMDS_MeshNode *) – n1 – n2 – n3 – n4 – n5 (SMDS_MeshNode *) – n1 – n2 – n3 – n4 – n5 – n6 (SMDS_MeshNode *) – n1 – n2 – n3 – n4 – n5 – n6 – n7 (SMDS_MeshNode *) – n8 (SMDS_MeshNode *) – f1 (SMDS_MeshFace *) – f2 (SMDS_MeshFace *) – f3 (SMDS_MeshFace *) – f4 (SMDS_MeshFace *) – f1 – f2 – f3 – f4 – f5 (SMDS_MeshFace *) – f1 – f2 – f3 – f4 – f5 – f6 (SMDS_MeshFace *) – n1 – n2 – n3 – n4 – n12 (SMDS_MeshNode *) – n23 (SMDS_MeshNode *) – n31 (SMDS_MeshNode *) – n14 (SMDS_MeshNode *) – n24 (SMDS_MeshNode *) – n34 (SMDS_MeshNode *) – n1 – n2 – n3 – n4 – n5 – n12 – n23 – n34 – n41 (SMDS_MeshNode *) – n15 (SMDS_MeshNode *) – n25 (SMDS_MeshNode *) – n35 (SMDS_MeshNode *) – n45 (SMDS_MeshNode *) – n1 – n2 – n3 – n4 – n5 – n6 – n12 – n23 – n31 – n45 – n56 (SMDS_MeshNode *) – n64 (SMDS_MeshNode *) – n14 – n25 – n36 (SMDS_MeshNode *) – n1 – n2 – n3 – n4 – n5 – n6 – n7 – n8 – n12 – n23 – n34 – n41 – n56 – n67 (SMDS_MeshNode *) – n78 (SMDS_MeshNode *) – n85 (SMDS_MeshNode *) – n15 – n26 (SMDS_MeshNode *) – n37 (SMDS_MeshNode *) – n48 (SMDS_MeshNode *) –
    Return type: | SMDS_MeshVolume *
    Return type: | SMDS_MeshVolume *
    Return type: | SMDS_MeshVolume *
    Return type: | SMDS_MeshVolume *
    Return type: | SMDS_MeshVolume *
    Return type: | SMDS_MeshVolume *
    Return type: | SMDS_MeshVolume *
    Return type: | SMDS_MeshVolume *
    Return type: | SMDS_MeshVolume *
    Return type: | SMDS_MeshVolume *
    Return type: | SMDS_MeshVolume *

  `AddVolumeWithID`()

    Parameters: | n1 (SMDS_MeshNode *) – n2 (SMDS_MeshNode *) – n3 (SMDS_MeshNode *) – n4 (SMDS_MeshNode *) – ID (int) – n1 – n2 – n3 – n4 – ID – n1 – n2 – n3 – n4 – n5 (SMDS_MeshNode *) – ID – n1 – n2 – n3 – n4 – n5 – ID – n1 – n2 – n3 – n4 – n5 – n6 (SMDS_MeshNode *) – ID – n1 – n2 – n3 – n4 – n5 – n6 – ID – n1 – n2 – n3 – n4 – n5 – n6 – n7 (SMDS_MeshNode *) – n8 (SMDS_MeshNode *) – ID – n1 – n2 – n3 – n4 – n5 – n6 – n7 – n8 – ID – f1 (SMDS_MeshFace *) – f2 (SMDS_MeshFace *) – f3 (SMDS_MeshFace *) – f4 (SMDS_MeshFace *) – ID – f1 – f2 – f3 – f4 – f5 (SMDS_MeshFace *) – ID – f1 – f2 – f3 – f4 – f5 – f6 (SMDS_MeshFace *) – ID – n1 – n2 – n3 – n4 – n12 (SMDS_MeshNode *) – n23 (SMDS_MeshNode *) – n31 (SMDS_MeshNode *) – n14 (SMDS_MeshNode *) – n24 (SMDS_MeshNode *) – n34 (SMDS_MeshNode *) – ID – n1 – n2 – n3 – n4 – n12 – n23 – n31 – n14 – n24 – n34 – ID – n1 – n2 – n3 – n4 – n5 – n12 – n23 – n34 – n41 (SMDS_MeshNode *) – n15 (SMDS_MeshNode *) – n25 (SMDS_MeshNode *) – n35 (SMDS_MeshNode *) – n45 (SMDS_MeshNode *) – ID – n1 – n2 – n3 – n4 – n5 – n12 – n23 – n34 – n41 – n15 – n25 – n35 – n45 – ID – n1 – n2 – n3 – n4 – n5 – n6 – n12 – n23 – n31 – n45 – n56 (SMDS_MeshNode *) – n64 (SMDS_MeshNode *) – n14 – n25 – n36 (SMDS_MeshNode *) – ID – n1 – n2 – n3 – n4 – n5 – n6 – n12 – n23 – n31 – n45 – n56 – n64 – n14 – n25 – n36 – ID – n1 – n2 – n3 – n4 – n5 – n6 – n7 – n8 – n12 – n23 – n34 – n41 – n56 – n67 (SMDS_MeshNode *) – n78 (SMDS_MeshNode *) – n85 (SMDS_MeshNode *) – n15 – n26 (SMDS_MeshNode *) – n37 (SMDS_MeshNode *) – n48 (SMDS_MeshNode *) – ID – n1 – n2 – n3 – n4 – n5 – n6 – n7 – n8 – n12 – n23 – n34 – n41 – n56 – n67 – n78 – n85 – n15 – n26 – n37 – n48 – ID –
    Return type: | SMDS_MeshVolume *
    Return type: | SMDS_MeshVolume *
    Return type: | SMDS_MeshVolume *
    Return type: | SMDS_MeshVolume *
    Return type: | SMDS_MeshVolume *
    Return type: | SMDS_MeshVolume *
    Return type: | SMDS_MeshVolume *
    Return type: | SMDS_MeshVolume *
    Return type: | SMDS_MeshVolume *
    Return type: | SMDS_MeshVolume *
    Return type: | SMDS_MeshVolume *
    Return type: | SMDS_MeshVolume *
    Return type: | SMDS_MeshVolume *
    Return type: | SMDS_MeshVolume *
    Return type: | SMDS_MeshVolume *
    Return type: | SMDS_MeshVolume *
    Return type: | SMDS_MeshVolume *
    Return type: | SMDS_MeshVolume *
    Return type: | SMDS_MeshVolume *

  `ChangePolyhedronNodes`()

    Parameters: | elem (SMDS_MeshElement *) – nodes (std::vector< SMDS_MeshNode *> &) – quantities (std::vector<int> &) –
    Return type: | bool

  static `CheckMemory`(*args)
    - /*! * rief Raise an exception if free memory (ram+swap) too low * param doNotRaise - if true, suppres exception, just return free memory size * etval int - amount of available memory in MB or negative number in failure case */

    Parameters: | doNotRaise (bool) – default value is false
    Return type: | int

  `Clear`()

    Return type: | None

  `Contains`()
    - /*! * Checks if the element is present in mesh. * Useful to determine dead pointers. * Use this function for debug purpose only! Do not check in the code * using it even in _DEBUG_ mode */

    Parameters: | elem (SMDS_MeshElement *) –
    Return type: | bool

  `DebugStats`()

    Return type: | None

  `Dump0DElements`()

    Return type: | None

  `DumpEdges`()

    Return type: | None

  `DumpFaces`()

    Return type: | None

  `DumpNodes`()

    Return type: | None

  `DumpVolumes`()

    Return type: | None

  static `Find0DElement`(*args)

    Parameters: | idnode (int) – n (SMDS_MeshNode *) –
    Return type: | SMDS_Mesh0DElement *
    Return type: | SMDS_Mesh0DElement *

  static `FindEdge`(*args)

    Parameters: | idnode1 (int) – idnode2 (int) – idnode1 – idnode2 – idnode3 (int) – n1 (SMDS_MeshNode *) – n2 (SMDS_MeshNode *) – n1 – n2 – n3 (SMDS_MeshNode *) –
    Return type: | SMDS_MeshEdge *
    Return type: | SMDS_MeshEdge *
    Return type: | SMDS_MeshEdge *
    Return type: | SMDS_MeshEdge *

  `FindElement`()

    Parameters: | IDelem (int) –
    Return type: | SMDS_MeshElement *

  static `FindFace`(*args)

    Parameters: | idnode1 (int) – idnode2 (int) – idnode3 (int) – idnode1 – idnode2 – idnode3 – idnode4 (int) – idnode1 – idnode2 – idnode3 – idnode4 – idnode5 (int) – idnode6 (int) – idnode1 – idnode2 – idnode3 – idnode4 – idnode5 – idnode6 – idnode7 (int) – idnode8 (int) – n1 (SMDS_MeshNode *) – n2 (SMDS_MeshNode *) – n3 (SMDS_MeshNode *) – n1 – n2 – n3 – n4 (SMDS_MeshNode *) – n1 – n2 – n3 – n4 – n5 (SMDS_MeshNode *) – n6 (SMDS_MeshNode *) – n1 – n2 – n3 – n4 – n5 – n6 – n7 (SMDS_MeshNode *) – n8 (SMDS_MeshNode *) – nodes_ids (std::vector<int>) – nodes (std::vector< SMDS_MeshNode *>) –
    Return type: | SMDS_MeshFace *
    Return type: | SMDS_MeshFace *
    Return type: | SMDS_MeshFace *
    Return type: | SMDS_MeshFace *
    Return type: | SMDS_MeshFace *
    Return type: | SMDS_MeshFace *
    Return type: | SMDS_MeshFace *
    Return type: | SMDS_MeshFace *
    Return type: | SMDS_MeshFace *
    Return type: | SMDS_MeshFace *

  `FindNode`()

    Parameters: | idnode (int) –
    Return type: | SMDS_MeshNode *

  `GetElementType`()

    Parameters: | id (int) – iselem (bool) –
    Return type: | SMDSAbs_ElementType

  `GetMeshInfo`()

    Return type: | SMDS_MeshInfo

  `MaxElementID`()

    Return type: | int

  `MaxNodeID`()

    Return type: | int

  `MinElementID`()

    Return type: | int

  `MinNodeID`()

    Return type: | int

  `Nb0DElements`()

    Return type: | int

  `NbEdges`()

    Return type: | int

  `NbFaces`()

    Return type: | int

  `NbNodes`()

    Return type: | int

  `NbSubMesh`()

    Return type: | int

  `NbVolumes`()

    Return type: | int

  `Remove0DElement`()

    Parameters: | elem0d (SMDS_Mesh0DElement *) –
    Return type: | None

  `RemoveEdge`()

    Parameters: | edge (SMDS_MeshEdge *) –
    Return type: | None

  `RemoveElement`()

    Parameters: | elem (SMDS_MeshElement *) – removedElems (std::list< SMDS_MeshElement *> &) – removedNodes (std::list< SMDS_MeshElement *> &) – removenodes (bool) – default value is false elem – removenodes – default value is false
    Return type: | None
    Return type: | None

  `RemoveFace`()

    Parameters: | face (SMDS_MeshFace *) –
    Return type: | None

  `RemoveFreeElement`()
    - /*! Remove only the given element and only if it is free. * Method does not work for meshes with descendants. * Implemented for fast cleaning of meshes. */

    Parameters: | elem (SMDS_MeshElement *) –
    Return type: | None

  `RemoveFromParent`()

    Return type: | bool

  `RemoveNode`()

    Parameters: | node (SMDS_MeshNode *) –
    Return type: | None

  `RemoveSubMesh`()

    Parameters: | aMesh (SMDS_Mesh *) –
    Return type: | bool

  `RemoveVolume`()

    Parameters: | volume (SMDS_MeshVolume *) –
    Return type: | None

  `Renumber`()

    Parameters: | isNodes (bool) – startID (int) – default value is 1 deltaID (int) – default value is 1
    Return type: | None

  `edgesIterator`()

    Return type: | SMDS_EdgeIteratorPtr

  `elements0dIterator`()

    Return type: | SMDS_0DElementIteratorPtr

  `elementsIterator`()

    Parameters: | type (SMDSAbs_ElementType) – default value is SMDSAbs_All
    Return type: | SMDS_ElemIteratorPtr

  `facesIterator`()

    Return type: | SMDS_FaceIteratorPtr

  `hasConstructionEdges`()

    Return type: | bool

  `hasConstructionFaces`()

    Return type: | bool

  `hasInverseElements`()

    Return type: | bool

  `nodesIterator`()

    Return type: | SMDS_NodeIteratorPtr

  `setConstructionEdges`()

    :param : :type : bool :rtype: None

  `setConstructionFaces`()

    :param : :type : bool :rtype: None

  `setInverseElements`()

    :param : :type : bool :rtype: None

  `thisown`

    The membership flag

  `volumesIterator`()

    Return type: | SMDS_VolumeIteratorPtr

class `SMDS_Mesh0DElement`(*args)

  Bases: `OCC.SMDS.SMDS_MeshElement`

  Parameters: | node (SMDS_MeshNode *) –
  Return type: | None

  `ChangeNode`()

    Parameters: | node (SMDS_MeshNode *) –
    Return type: | bool

  `GetEntityType`()

    Return type: | SMDSAbs_EntityType

  `GetNode`()
    - /! * rief Return node by its index * param ind - node index * etval const SMDS_MeshNode - the node */

    Parameters: | ind (int) –
    Return type: | SMDS_MeshNode *

  `GetType`()

    Return type: | SMDSAbs_ElementType

  `NbEdges`()

    Return type: | int

  `NbNodes`()

    Return type: | int

  `Print`()

    Parameters: | OS (std::ostream &) –
    Return type: | None

  `thisown`

    The membership flag

class `SMDS_MeshEdge`(*args)

  Bases: `OCC.SMDS.SMDS_MeshElement`

  Parameters: | node1 (SMDS_MeshNode *) – node2 (SMDS_MeshNode *) –
  Return type: | None

  `ChangeNodes`()

    Parameters: | node1 (SMDS_MeshNode *) – node2 (SMDS_MeshNode *) –
    Return type: | bool

  `GetEntityType`()

    Return type: | SMDSAbs_EntityType

  `GetNode`()
    - /! * rief Return node by its index * param ind - node index * etval const SMDS_MeshNode - the node */

    Parameters: | ind (int) –
    Return type: | SMDS_MeshNode *

  `GetType`()

    Return type: | SMDSAbs_ElementType

  `NbEdges`()

    Return type: | int

  `NbNodes`()

    Return type: | int

  `Print`()

    Parameters: | OS (std::ostream &) –
    Return type: | None

  `thisown`

    The membership flag

class `SMDS_MeshElement`(*args, **kwargs)

  Bases: `object`

  `GetEntityType`()
    - Return type of entity

    Return type: | SMDSAbs_EntityType

  `GetID`()

    Return type: | int

  `GetNode`()
    - /! * rief Return node by its index * param ind - node index * etval const SMDS_MeshNode - the node */

    Parameters: | ind (int) –
    Return type: | SMDS_MeshNode *

  `GetNodeIndex`()
    - /*! * rief Check if a node belongs to the element * param node - the node to check * etval int - node index within the element, -1 if not found */

    Parameters: | node (SMDS_MeshNode *) –
    Return type: | int

  `GetNodeWrap`()
    - /! * rief Return node by its index * param ind - node index * etval const SMDS_MeshNode - the node * * Index is wrapped if it is out of a valid range */

    Parameters: | ind (int) –
    Return type: | SMDS_MeshNode *

  `GetType`()
    - ///Return the type of the current element

    Return type: | SMDSAbs_ElementType

  `IsMediumNode`()

    Parameters: | node (SMDS_MeshNode *) –
    Return type: | bool

  `IsPoly`()

    Return type: | bool

  `IsQuadratic`()

    Return type: | bool

  `IsValidIndex`()
    - /*! * rief Return true if index of node is valid (0 <= ind < NbNodes()) * param ind - node index * etval bool - index check result */

    Parameters: | ind (int) –
    Return type: | bool

  `NbEdges`()

    Return type: | int

  `NbFaces`()

    Return type: | int

  `NbNodes`()

    Return type: | int

  `WrappedIndex`()
    - /*! * rief Return a valid node index, fixing the given one if necessary * param ind - node index * etval int - valid node index */

    Parameters: | ind (int) –
    Return type: | int

  `edgesIterator`()

    Return type: | SMDS_ElemIteratorPtr

  `elementsIterator`()

    Parameters: | type (SMDSAbs_ElementType) –
    Return type: | SMDS_ElemIteratorPtr

  `facesIterator`()

    Return type: | SMDS_ElemIteratorPtr

  `nodesIterator`()

    Return type: | SMDS_ElemIteratorPtr

  `thisown`

    The membership flag

class `SMDS_MeshElementIDFactory`(*args)

  Bases: `OCC.SMDS.SMDS_MeshIDFactory`

  Return type: | None

  `BindID`()

    Parameters: | ID (int) – elem (SMDS_MeshElement *) –
    Return type: | bool

  `Clear`()

    Return type: | None

  `GetFreeID`()

    Return type: | int

  `GetMaxID`()

    Return type: | int

  `GetMinID`()

    Return type: | int

  `MeshElement`()

    Parameters: | ID (int) –
    Return type: | SMDS_MeshElement *

  `ReleaseID`()

    Parameters: | ID (int) –
    Return type: | None

  `elementsIterator`()

    Return type: | SMDS_ElemIteratorPtr

  `thisown`

    The membership flag

class `SMDS_MeshFace`(*args, **kwargs)

  Bases: `OCC.SMDS.SMDS_MeshElement`

  `GetType`()

    Return type: | SMDSAbs_ElementType

  `thisown`

    The membership flag

class `SMDS_MeshGroup`(*args)

  Bases: `object`

  Parameters: | theMesh (SMDS_Mesh *) – theType (SMDSAbs_ElementType) – default value is SMDSAbs_All
  Return type: | None

  `Add`()

    Parameters: | theElem (SMDS_MeshElement *) –
    Return type: | None

  `AddSubGroup`()

    Parameters: | theType (SMDSAbs_ElementType) – default value is SMDSAbs_All
    Return type: | SMDS_MeshGroup *

  `Clear`()

    Return type: | None

  `Contains`()

    Parameters: | theElem (SMDS_MeshElement *) –
    Return type: | bool

  `Extent`()

    Return type: | int

  `GetMesh`()

    Return type: | SMDS_Mesh *

  `GetType`()

    Return type: | SMDSAbs_ElementType

  `InitIterator`()

    Return type: | None

  `InitSubGroupsIterator`()

    Return type: | None

  `IsEmpty`()

    Return type: | bool

  `More`()

    Return type: | bool

  `MoreSubGroups`()

    Return type: | bool

  `Next`()

    Return type: | SMDS_MeshElement *

  `NextSubGroup`()

    Return type: | SMDS_MeshGroup *

  `Remove`()

    Parameters: | theElem (SMDS_MeshElement *) –
    Return type: | bool

  `RemoveFromParent`()

    Return type: | bool

  `RemoveSubGroup`()

    Parameters: | theGroup (SMDS_MeshGroup *) –
    Return type: | bool

  `SetType`()

    Parameters: | theType (SMDSAbs_ElementType) –
    Return type: | None

  `SubGroupsNb`()

    Return type: | int

  `thisown`

    The membership flag

class `SMDS_MeshIDFactory`(*args, **kwargs)

  Bases: `object`

  `Clear`()

    Return type: | None

  `GetFreeID`()

    Return type: | int

  `ReleaseID`()

    Parameters: | ID (int) –
    Return type: | None

  `thisown`

    The membership flag

class `SMDS_MeshNode`(*args)

  Bases: `OCC.SMDS.SMDS_MeshElement`

  Parameters: | x (double) – y (double) – z (double) –
  Return type: | None

  `AddInverseElement`()

    Parameters: | ME (SMDS_MeshElement *) –
    Return type: | None

  `ClearInverseElements`()

    Return type: | None

  `GetEntityType`()

    Return type: | SMDSAbs_EntityType

  `GetInverseElementIterator`()

    Parameters: | type (SMDSAbs_ElementType) – default value is SMDSAbs_All
    Return type: | SMDS_ElemIteratorPtr

  `GetNode`()
    - /! * rief Return node by its index * param ind - node index * etval const SMDS_MeshNode - the node */

    :param : :type : int :rtype: SMDS_MeshNode *

  `GetPosition`()

    Return type: | SMDS_PositionPtr

  `GetType`()

    Return type: | SMDSAbs_ElementType

  `NbInverseElements`()

    Parameters: | type (SMDSAbs_ElementType) – default value is SMDSAbs_All
    Return type: | int

  `NbNodes`()

    Return type: | int

  `Print`()

    Parameters: | OS (std::ostream &) –
    Return type: | None

  `RemoveInverseElement`()

    Parameters: | parent (SMDS_MeshElement *) –
    Return type: | None

  `SetPosition`()

    Parameters: | aPos (SMDS_PositionPtr &) –
    Return type: | None

  `X`()

    Return type: | double

  `Y`()

    Return type: | double

  `Z`()

    Return type: | double

  `emptyInverseElements`()

    Return type: | bool

  `setXYZ`()

    Parameters: | x (double) – y (double) – z (double) –
    Return type: | None

  `thisown`

    The membership flag

class `SMDS_MeshVolume`(*args, **kwargs)

  Bases: `OCC.SMDS.SMDS_MeshElement`

  `GetType`()

    Return type: | SMDSAbs_ElementType

  `thisown`

    The membership flag

`SMDS_Mesh_CheckMemory`(*args)
  - /*! * rief Raise an exception if free memory (ram+swap) too low * param doNotRaise - if true, suppres exception, just return free memory size * etval int - amount of available memory in MB or negative number in failure case */

  Parameters: | doNotRaise (bool) – default value is false
  Return type: | int

`SMDS_Mesh_Find0DElement`(*args)

  Parameters: | idnode (int) – n (SMDS_MeshNode *) –
  Return type: | SMDS_Mesh0DElement *
  Return type: | SMDS_Mesh0DElement *

`SMDS_Mesh_FindEdge`(*args)

  Parameters: | idnode1 (int) – idnode2 (int) – idnode1 – idnode2 – idnode3 (int) – n1 (SMDS_MeshNode *) – n2 (SMDS_MeshNode *) – n1 – n2 – n3 (SMDS_MeshNode *) –
  Return type: | SMDS_MeshEdge *
  Return type: | SMDS_MeshEdge *
  Return type: | SMDS_MeshEdge *
  Return type: | SMDS_MeshEdge *

`SMDS_Mesh_FindFace`(*args)

  Parameters: | idnode1 (int) – idnode2 (int) – idnode3 (int) – idnode1 – idnode2 – idnode3 – idnode4 (int) – idnode1 – idnode2 – idnode3 – idnode4 – idnode5 (int) – idnode6 (int) – idnode1 – idnode2 – idnode3 – idnode4 – idnode5 – idnode6 – idnode7 (int) – idnode8 (int) – n1 (SMDS_MeshNode *) – n2 (SMDS_MeshNode *) – n3 (SMDS_MeshNode *) – n1 – n2 – n3 – n4 (SMDS_MeshNode *) – n1 – n2 – n3 – n4 – n5 (SMDS_MeshNode *) – n6 (SMDS_MeshNode *) – n1 – n2 – n3 – n4 – n5 – n6 – n7 (SMDS_MeshNode *) – n8 (SMDS_MeshNode *) – nodes_ids (std::vector<int>) – nodes (std::vector< SMDS_MeshNode *>) –
  Return type: | SMDS_MeshFace *
  Return type: | SMDS_MeshFace *
  Return type: | SMDS_MeshFace *
  Return type: | SMDS_MeshFace *
  Return type: | SMDS_MeshFace *
  Return type: | SMDS_MeshFace *
  Return type: | SMDS_MeshFace *
  Return type: | SMDS_MeshFace *
  Return type: | SMDS_MeshFace *
  Return type: | SMDS_MeshFace *

class `SMDS_NodeIteratorPtr`(*args, **kwargs)

  Bases: `object`

  `more`()
    - /// Return true if and only if there are other object in this iterator

    Return type: | bool

  `next`()
    - /// Return the current object and step to the next one

    Return type: | VALUE

  `remove`()
    - /// Delete the current element and step to the next one

    Return type: | None

  `thisown`

    The membership flag

class `SMDS_PolygonalFaceOfNodes`(*args)

  Bases: `OCC.SMDS.SMDS_MeshFace`

  Parameters: | nodes (std::vector< SMDS_MeshNode *>) –
  Return type: | None

  `GetEntityType`()

    Return type: | SMDSAbs_EntityType

  `GetNode`()
    - /! * rief Return node by its index * param ind - node index * etval const SMDS_MeshNode - the node */

    Parameters: | ind (int) –
    Return type: | SMDS_MeshNode *

  `GetType`()

    Return type: | SMDSAbs_ElementType

  `IsPoly`()

    Return type: | bool

  `NbEdges`()

    Return type: | int

  `NbFaces`()

    Return type: | int

  `NbNodes`()

    Return type: | int

  `Print`()

    Parameters: | OS (std::ostream &) –
    Return type: | None

  `thisown`

    The membership flag

class `SMDS_PolyhedralVolumeOfNodes`(*args)

  Bases: `OCC.SMDS.SMDS_VolumeOfNodes`

  Parameters: | nodes (std::vector< SMDS_MeshNode *>) – quantities (std::vector<int>) –
  Return type: | None

  `ChangeNodes`()

    Parameters: | nodes (std::vector< SMDS_MeshNode *> &) – quantities (std::vector<int> &) –
    Return type: | bool

  `GetEntityType`()

    Return type: | SMDSAbs_EntityType

  `GetFaceNode`()

    Parameters: | face_ind (int) – node_ind (int) –
    Return type: | SMDS_MeshNode *

  `GetNode`()
    - /*! * rief Return node by its index */

    Parameters: | ind (int) –
    Return type: | SMDS_MeshNode *

  `GetQuanities`()

    Return type: | std::vector<int>

  `GetType`()

    Return type: | SMDSAbs_ElementType

  `IsPoly`()

    Return type: | bool

  `NbEdges`()

    Return type: | int

  `NbFaceNodes`()

    Parameters: | face_ind (int) –
    Return type: | int

  `NbFaces`()

    Return type: | int

  `NbNodes`()

    Return type: | int

  `NbUniqueNodes`()
    - /*! * rief Return nb of unique nodes */

    Return type: | int

  `Print`()

    Parameters: | OS (std::ostream &) –
    Return type: | None

  `thisown`

    The membership flag

  `uniqueNodesIterator`()
    - /*! * rief Return iterator on unique nodes */

    Return type: | SMDS_ElemIteratorPtr

class `SMDS_QuadraticEdge`(*args)

  Bases: `OCC.SMDS.SMDS_MeshEdge`

  Parameters: | node1 (SMDS_MeshNode *) – node2 (SMDS_MeshNode *) – node12 (SMDS_MeshNode *) –
  Return type: | None

  `ChangeNodes`()

    Parameters: | node1 (SMDS_MeshNode *) – node2 (SMDS_MeshNode *) – node12 (SMDS_MeshNode *) –
    Return type: | bool

  `GetEntityType`()

    Return type: | SMDSAbs_EntityType

  `IsMediumNode`()

    Parameters: | node (SMDS_MeshNode *) –
    Return type: | bool

  `IsQuadratic`()

    Return type: | bool

  `NbNodes`()

    Return type: | int

  `Print`()

    Parameters: | OS (std::ostream &) –
    Return type: | None

  `interlacedNodesElemIterator`()

    Return type: | SMDS_ElemIteratorPtr

  `interlacedNodesIterator`()

    Return type: | SMDS_NodeIteratorPtr

  `thisown`

    The membership flag

class `SMDS_QuadraticFaceOfNodes`(*args)

  Bases: `OCC.SMDS.SMDS_MeshFace`

  Parameters: | n1 (SMDS_MeshNode *) – n2 (SMDS_MeshNode *) – n3 (SMDS_MeshNode *) – n12 (SMDS_MeshNode *) – n23 (SMDS_MeshNode *) – n31 (SMDS_MeshNode *) – n1 – n2 – n3 – n4 (SMDS_MeshNode *) – n12 – n23 – n34 (SMDS_MeshNode *) – n41 (SMDS_MeshNode *) –
  Return type: | None
  Return type: | None

  `GetEntityType`()

    Return type: | SMDSAbs_EntityType

  `GetNode`()
    - /! * rief Return node by its index * param ind - node index * etval const SMDS_MeshNode - the node */

    Parameters: | ind (int) –
    Return type: | SMDS_MeshNode *

  `IsMediumNode`()

    Parameters: | node (SMDS_MeshNode *) –
    Return type: | bool

  `IsQuadratic`()

    Return type: | bool

  `NbEdges`()

    Return type: | int

  `NbFaces`()

    Return type: | int

  `NbNodes`()

    Return type: | int

  `Print`()

    Parameters: | OS (std::ostream &) –
    Return type: | None

  `interlacedNodesElemIterator`()

    Return type: | SMDS_ElemIteratorPtr

  `interlacedNodesIterator`()

    Return type: | SMDS_NodeIteratorPtr

  `thisown`

    The membership flag

class `SMDS_QuadraticVolumeOfNodes`(*args)

  Bases: `OCC.SMDS.SMDS_MeshVolume`

  Parameters: | n1 (SMDS_MeshNode *) – n2 (SMDS_MeshNode *) – n3 (SMDS_MeshNode *) – n4 (SMDS_MeshNode *) – n12 (SMDS_MeshNode *) – n23 (SMDS_MeshNode *) – n31 (SMDS_MeshNode *) – n14 (SMDS_MeshNode *) – n24 (SMDS_MeshNode *) – n34 (SMDS_MeshNode *) – n1 – n2 – n3 – n4 – n5 (SMDS_MeshNode *) – n12 – n23 – n34 – n41 (SMDS_MeshNode *) – n15 (SMDS_MeshNode *) – n25 (SMDS_MeshNode *) – n35 (SMDS_MeshNode *) – n45 (SMDS_MeshNode *) – n1 – n2 – n3 – n4 – n5 – n6 (SMDS_MeshNode *) – n12 – n23 – n31 – n45 – n56 (SMDS_MeshNode *) – n64 (SMDS_MeshNode *) – n14 – n25 – n36 (SMDS_MeshNode *) – n1 – n2 – n3 – n4 – n5 – n6 – n7 (SMDS_MeshNode *) – n8 (SMDS_MeshNode *) – n12 – n23 – n34 – n41 – n56 – n67 (SMDS_MeshNode *) – n78 (SMDS_MeshNode *) – n85 (SMDS_MeshNode *) – n15 – n26 (SMDS_MeshNode *) – n37 (SMDS_MeshNode *) – n48 (SMDS_MeshNode *) –
  Return type: | None
  Return type: | None
  Return type: | None
  Return type: | None

  `GetEntityType`()

    Return type: | SMDSAbs_EntityType

  `GetNode`()
    - /! * rief Return node by its index * param ind - node index * etval const SMDS_MeshNode - the node */

    Parameters: | ind (int) –
    Return type: | SMDS_MeshNode *

  `IsMediumNode`()

    Parameters: | node (SMDS_MeshNode *) –
    Return type: | bool

  `IsQuadratic`()

    Return type: | bool

  `NbEdges`()

    Return type: | int

  `NbFaces`()

    Return type: | int

  `NbNodes`()

    Return type: | int

  `Print`()

    Parameters: | OS (std::ostream &) –
    Return type: | None

  `thisown`

    The membership flag

class `SMDS_SpacePosition`(*args)

  Bases: `object`

  Parameters: | x (double) – default value is 0 y (double) – default value is 0 z (double) – default value is 0
  Return type: | None

  `Coords`()

    Return type: | double *

  static `originSpacePosition`(*args)

    Return type: | SMDS_PositionPtr

  `thisown`

    The membership flag

`SMDS_SpacePosition_originSpacePosition`(*args)

  Return type: | SMDS_PositionPtr

class `SMDS_VertexPosition`(*args)

  Bases: `object`

  Parameters: | aVertexId (int) – default value is 0
  Return type: | None

  `Coords`()

    Return type: | double *

  `GetTypeOfPosition`()

    Return type: | SMDS_TypeOfPosition

  `thisown`

    The membership flag

class `SMDS_VolumeIteratorPtr`(*args, **kwargs)

  Bases: `object`

  `more`()
    - /// Return true if and only if there are other object in this iterator

    Return type: | bool

  `next`()
    - /// Return the current object and step to the next one

    Return type: | VALUE

  `remove`()
    - /// Delete the current element and step to the next one

    Return type: | None

  `thisown`

    The membership flag

class `SMDS_VolumeOfFaces`(*args)

  Bases: `OCC.SMDS.SMDS_MeshVolume`

  Parameters: | face1 (SMDS_MeshFace *) – face2 (SMDS_MeshFace *) – face3 (SMDS_MeshFace *) – face4 (SMDS_MeshFace *) – face1 – face2 – face3 – face4 – face5 (SMDS_MeshFace *) – face1 – face2 – face3 – face4 – face5 – face6 (SMDS_MeshFace *) –
  Return type: | None
  Return type: | None
  Return type: | None

  `GetEntityType`()

    Return type: | SMDSAbs_EntityType

  `NbFaces`()

    Return type: | int

  `Print`()

    Parameters: | OS (std::ostream &) –
    Return type: | None

  `thisown`

    The membership flag

class `SMDS_VolumeOfNodes`(*args)

  Bases: `OCC.SMDS.SMDS_MeshVolume`

  Parameters: | node1 (SMDS_MeshNode *) – node2 (SMDS_MeshNode *) – node3 (SMDS_MeshNode *) – node4 (SMDS_MeshNode *) – node1 – node2 – node3 – node4 – node5 (SMDS_MeshNode *) – node1 – node2 – node3 – node4 – node5 – node6 (SMDS_MeshNode *) – node1 – node2 – node3 – node4 – node5 – node6 – node7 (SMDS_MeshNode *) – node8 (SMDS_MeshNode *) –
  Return type: | None
  Return type: | None
  Return type: | None
  Return type: | None

  `GetEntityType`()

    Return type: | SMDSAbs_EntityType

  `GetNode`()
    - /! * rief Return node by its index * param ind - node index * etval const SMDS_MeshNode - the node */

    Parameters: | ind (int) –
    Return type: | SMDS_MeshNode *

  `GetType`()

    Return type: | SMDSAbs_ElementType

  `NbEdges`()

    Return type: | int

  `NbFaces`()

    Return type: | int

  `NbNodes`()

    Return type: | int

  `Print`()

    Parameters: | OS (std::ostream &) –
    Return type: | None

  `thisown`

    The membership flag

class `SwigPyIterator`(*args, **kwargs)

  Bases: `object`

  `advance`()
  `copy`()
  `decr`()
  `distance`()
  `equal`()
  `incr`()
  `next`()
  `previous`()
  `thisown`

    The membership flag

  `value`()

`register_handle`(handle, base_object)

  Inserts the handle into the base object to prevent memory corruption in certain cases