Definition in file Point.h.
#include <limits>
#include <cstring>
#include <libsava/packages.h>
Include dependency graph for Point.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Namespaces | |
namespace | com |
namespace | com::savarese |
namespace | com::savarese::algorithms |
namespace | sava::spatial |
Classes | |
struct | sava::spatial::PointTraits< P > |
PointTraits stores metadata about Point instances. More... | |
class | sava::spatial::Point< Dimensions, CoordType > |
A Point is a k-dimensional tuple of coordinates. More... | |
class | sava::spatial::Point2D< CoordType > |
A two-dimensional specialization of the Point class. More... | |
class | sava::spatial::Point3D< CoordType > |
A three-dimensional specialization of the Point class. More... | |
Functions | |
template<unsigned int Dimensions, class CoordType> | |
bool | sava::spatial::operator== (const Point< Dimensions, CoordType > &point1, const Point< Dimensions, CoordType > &point2) |
Returns true if each of the coordinates in point1 is equal to its corresponding coordinate in point2, otherwise false. | |
template<unsigned int Dimensions, class CoordType> | |
bool | sava::spatial::operator< (const Point< Dimensions, CoordType > &point1, const Point< Dimensions, CoordType > &point2) |
Returns true if there is an index j where point1[i] <= point2[i] and point1[j] < point2[j] for all i <= j, otherwise false. | |
template<unsigned int Dimensions, class CoordType> | |
bool | sava::spatial::operator> (const Point< Dimensions, CoordType > &point1, const Point< Dimensions, CoordType > &point2) |
Returns true if there is an index j where point1[i] >= point2[i] and point1[j] > point2[j] for all i <= j, otherwise false. | |
template<class CoordType> | |
bool | sava::spatial::operator== (const Point< 2, CoordType > &point1, const Point< 2, CoordType > &point2) |
template<class CoordType> | |
bool | sava::spatial::operator< (const Point< 2, CoordType > &point1, const Point< 2, CoordType > &point2) |
template<class CoordType> | |
bool | sava::spatial::operator> (const Point< 2, CoordType > &point1, const Point< 2, CoordType > &point2) |
template<class CoordType> | |
bool | sava::spatial::operator== (const Point< 3, CoordType > &point1, const Point< 3, CoordType > &point2) |
template<class CoordType> | |
bool | sava::spatial::operator< (const Point< 3, CoordType > &point1, const Point< 3, CoordType > &point2) |
template<class CoordType> | |
bool | sava::spatial::operator> (const Point< 3, CoordType > &point1, const Point< 3, CoordType > &point2) |
template<unsigned int Dimensions, class CoordType> | |
bool | sava::spatial::operator!= (const Point< Dimensions, CoordType > &point1, const Point< Dimensions, CoordType > &point2) |
template<unsigned int Dimensions, class CoordType> | |
bool | sava::spatial::operator>= (const Point< Dimensions, CoordType > &point1, const Point< Dimensions, CoordType > &point2) |
template<unsigned int Dimensions, class CoordType> | |
bool | sava::spatial::operator<= (const Point< Dimensions, CoordType > &point1, const Point< Dimensions, CoordType > &point2) |
template<unsigned int Dimensions, class CoordType> | |
bool | sava::spatial::isContained (const Point< Dimensions, CoordType > &point, const Point< Dimensions, CoordType > &lower, const Point< Dimensions, CoordType > &upper) |
template<class CoordType> | |
bool | sava::spatial::isContained (const Point< 2, CoordType > &point, const Point< 2, CoordType > &lower, const Point< 2, CoordType > &upper) |
template<class CoordType> | |
bool | sava::spatial::isContained (const Point< 3, CoordType > &point, const Point< 3, CoordType > &lower, const Point< 3, CoordType > &upper) |