]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
PAL13460 (PAL EDF 301 force the mesh to go through a point)
authoreap <eap@opencascade.com>
Wed, 21 Feb 2007 16:50:39 +0000 (16:50 +0000)
committereap <eap@opencascade.com>
Wed, 21 Feb 2007 16:50:39 +0000 (16:50 +0000)
    add NbInverseNodes()

src/SMDS/SMDS_MeshNode.hxx

index f2b0e003d893f341c20372c5cda5f74bbc2d97f9..0da589b4d7accb6a280c4159fd9eb3519eca819c 100644 (file)
@@ -57,6 +57,7 @@ class SMDS_WNT_EXPORT SMDS_MeshNode:public SMDS_MeshElement
        void ClearInverseElements();
        bool emptyInverseElements();
        SMDS_ElemIteratorPtr GetInverseElementIterator(SMDSAbs_ElementType type=SMDSAbs_All) const;
+        int NbInverseNodes() const { return myInverseElements.Extent(); }
        void SetPosition(const SMDS_PositionPtr& aPos);
        const SMDS_PositionPtr& GetPosition() const;
        SMDSAbs_ElementType GetType() const;