X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FINTERP_KERNEL%2FBoundingBox.cxx;h=b20ca410064ad655a57070fe5adfcf6c3dd776b4;hb=46ddce3caf8076fa140934bb3ce88c5d8040efb9;hp=45d51460cb9c02dd6f6d915be1b04844cad82544;hpb=659f8c67d0348350e12fde38fe8c4de1ff95dffe;p=tools%2Fmedcoupling.git diff --git a/src/INTERP_KERNEL/BoundingBox.cxx b/src/INTERP_KERNEL/BoundingBox.cxx index 45d51460c..b20ca4100 100644 --- a/src/INTERP_KERNEL/BoundingBox.cxx +++ b/src/INTERP_KERNEL/BoundingBox.cxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2014 CEA/DEN, EDF R&D +// Copyright (C) 2007-2016 CEA/DEN, EDF R&D // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -162,4 +162,14 @@ namespace INTERP_KERNEL return valid; } + void BoundingBox::toCompactData(double data[6]) const + { + data[0]=_coords[XMIN]; + data[1]=_coords[XMAX]; + data[2]=_coords[YMIN]; + data[3]=_coords[YMAX]; + data[4]=_coords[ZMIN]; + data[5]=_coords[ZMAX]; + } + }