X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FINTERP_KERNEL%2FDirectedBoundingBox.hxx;h=a06e7505884497cadcd9e57d380275dec309ea15;hb=d426837c21eca9b56b9b8a7a7434aaf3969c8977;hp=65f3b1bd0e4361abb5cbe6a998a012f1a62d6ce0;hpb=f1a947b32a36d8dc8e3079b25305bb50e8cb59a0;p=tools%2Fmedcoupling.git diff --git a/src/INTERP_KERNEL/DirectedBoundingBox.hxx b/src/INTERP_KERNEL/DirectedBoundingBox.hxx index 65f3b1bd0..a06e75058 100644 --- a/src/INTERP_KERNEL/DirectedBoundingBox.hxx +++ b/src/INTERP_KERNEL/DirectedBoundingBox.hxx @@ -1,9 +1,9 @@ -// Copyright (C) 2009-2013 OPEN CASCADE +// Copyright (C) 2009-2016 OPEN CASCADE // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either -// version 2.1 of the License. +// version 2.1 of the License, or (at your option) any later version. // // This library is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -31,35 +31,35 @@ namespace INTERP_KERNEL * \brief Class representing the bounding box of a number of points * with box axes parallel to principal axes of inertia of points */ - class INTERPKERNEL_EXPORT DirectedBoundingBox + class DirectedBoundingBox { public: - DirectedBoundingBox(); + INTERPKERNEL_EXPORT DirectedBoundingBox(); - DirectedBoundingBox(const double* pts, const unsigned numPts, const unsigned dim); + INTERPKERNEL_EXPORT DirectedBoundingBox(const double* pts, const unsigned numPts, const unsigned dim); - DirectedBoundingBox(const double** pts, const unsigned numPts, const unsigned dim); + INTERPKERNEL_EXPORT DirectedBoundingBox(const double** pts, const unsigned numPts, const unsigned dim); //~DirectedBoundingBox(); - void enlarge(const double tol); + INTERPKERNEL_EXPORT void enlarge(const double tol); - bool isDisjointWith(const DirectedBoundingBox& box) const; + INTERPKERNEL_EXPORT bool isDisjointWith(const DirectedBoundingBox& box) const; - bool isDisjointWith(const double* box) const; + INTERPKERNEL_EXPORT bool isDisjointWith(const double* box) const; - bool isOut(const double* point) const; + INTERPKERNEL_EXPORT bool isOut(const double* point) const; // return internal data - std::vector getData() const; + INTERPKERNEL_EXPORT std::vector getData() const; // initialize with data returned by getData() - void setData(const double* data); + INTERPKERNEL_EXPORT void setData(const double* data); // return size of internal data - static int dataSize(int dim); + INTERPKERNEL_EXPORT static int dataSize(int dim); private: