template<typename Point, int Dimension = -1, typename Strategy = strategy::compare::default_strategy>
struct boost::geometry::less< Point, Dimension, Strategy >
Less functor, to sort points in ascending order.
This functor compares points and orders them on x, then on y, then on z coordinate.
- Template Parameters
-
Geometry | the geometry |
Dimension | the dimension to sort on, defaults to -1, indicating ALL dimensions. That's to say, first on x, on equal x-es then on y, etc. If a dimension is specified, only that dimension is considered |
Strategy | underlying coordinate comparing functor, defaults to the default comparison strategies related to the point coordinate system. If specified, the specified strategy is used. This can e.g. be std::less<double>. |