From 03e3d5d03999a5e7ba7efe9e29d260aeb8b8673c Mon Sep 17 00:00:00 2001 From: ageay Date: Tue, 21 Feb 2012 16:35:44 +0000 Subject: [PATCH] A little doc for getCoords. --- src/MEDCoupling/MEDCouplingPointSet.hxx | 2 ++ 1 file changed, 2 insertions(+) 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); -- 2.39.2