From: ageay Date: Tue, 21 Feb 2012 16:35:44 +0000 (+0000) Subject: A little doc for getCoords. X-Git-Tag: V6_main_FINAL~831 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=03e3d5d03999a5e7ba7efe9e29d260aeb8b8673c;p=tools%2Fmedcoupling.git A little doc for getCoords. --- diff --git a/src/MEDCoupling/MEDCouplingPointSet.hxx b/src/MEDCoupling/MEDCouplingPointSet.hxx index 0cb17a662..92440c4c8 100644 --- a/src/MEDCoupling/MEDCouplingPointSet.hxx +++ b/src/MEDCoupling/MEDCouplingPointSet.hxx @@ -54,7 +54,9 @@ namespace ParaMEDMEM int getNumberOfNodes() const; int getSpaceDimension() const; void setCoords(const DataArrayDouble *coords); + //! This method returns directly the array in 'this' \b without incrementing ref counter. The pointer is dealed by the mesh. The caller should not deal (decrRef) with this pointer const DataArrayDouble *getCoords() const { return _coords; } + //! This method returns directly the array in 'this' \b without incrementing ref counter. The pointer is dealed by the mesh. The caller should not deal (decrRef) with this pointer DataArrayDouble *getCoords() { return _coords; } DataArrayDouble *getCoordinatesAndOwner() const; void copyTinyStringsFrom(const MEDCouplingMesh *other) throw(INTERP_KERNEL::Exception);