Remove unused method

-  bool emptyInverseElements();
This commit is contained in:
eap 2010-09-27 06:21:30 +00:00
parent 79d1c82a95
commit 9167a6a24d
2 changed files with 8 additions and 9 deletions

View File

@ -239,11 +239,6 @@ void SMDS_MeshNode::ClearInverseElements()
myInverseElements.Clear(); myInverseElements.Clear();
} }
bool SMDS_MeshNode::emptyInverseElements()
{
return myInverseElements.IsEmpty() != Standard_False;
}
//================================================================================ //================================================================================
/*! /*!
* \brief Count inverse elements of given type * \brief Count inverse elements of given type

View File

@ -38,23 +38,26 @@ class SMDS_EXPORT SMDS_MeshNode:public SMDS_MeshElement
public: public:
SMDS_MeshNode(double x, double y, double z); SMDS_MeshNode(double x, double y, double z);
void Print(std::ostream & OS) const;
double X() const; double X() const;
double Y() const; double Y() const;
double Z() const; double Z() const;
void setXYZ(double x, double y, double z);
void AddInverseElement(const SMDS_MeshElement * ME); void AddInverseElement(const SMDS_MeshElement * ME);
void RemoveInverseElement(const SMDS_MeshElement * parent); void RemoveInverseElement(const SMDS_MeshElement * parent);
void ClearInverseElements(); void ClearInverseElements();
bool emptyInverseElements();
SMDS_ElemIteratorPtr GetInverseElementIterator(SMDSAbs_ElementType type=SMDSAbs_All) const; SMDS_ElemIteratorPtr GetInverseElementIterator(SMDSAbs_ElementType type=SMDSAbs_All) const;
int NbInverseElements(SMDSAbs_ElementType type=SMDSAbs_All) const; int NbInverseElements(SMDSAbs_ElementType type=SMDSAbs_All) const;
void SetPosition(const SMDS_PositionPtr& aPos); void SetPosition(const SMDS_PositionPtr& aPos);
const SMDS_PositionPtr& GetPosition() const; const SMDS_PositionPtr& GetPosition() const;
SMDSAbs_ElementType GetType() const; SMDSAbs_ElementType GetType() const;
SMDSAbs_EntityType GetEntityType() const {return SMDSEntity_Node;} SMDSAbs_EntityType GetEntityType() const {return SMDSEntity_Node;}
int NbNodes() const;
void setXYZ(double x, double y, double z);
friend bool operator<(const SMDS_MeshNode& e1, const SMDS_MeshNode& e2); friend bool operator<(const SMDS_MeshNode& e1, const SMDS_MeshNode& e2);
void Print(std::ostream & OS) const;
/*! /*!
* \brief Return node by its index * \brief Return node by its index
@ -62,6 +65,7 @@ public:
* \retval const SMDS_MeshNode* - the node * \retval const SMDS_MeshNode* - the node
*/ */
virtual const SMDS_MeshNode* GetNode(const int) const { return this; } virtual const SMDS_MeshNode* GetNode(const int) const { return this; }
virtual int NbNodes() const;
protected: protected:
SMDS_ElemIteratorPtr SMDS_ElemIteratorPtr