homog2d library
|
Holds free functions returning a pair of points. More...
Functions | |
template<typename T > | |
auto | getPointPair (const T &elem) |
Returns pair of points defining a BB of a primitive Overload 1/4, private free function. More... | |
template<typename T , typename std::enable_if< std::is_same< T, Point2d_< typename T::FType >>::value, T >::type * = nullptr> | |
auto | getPointPair (const T &elem) |
Returns pair of points defining a BB of a Point2d Overload 3/4, private free function. More... | |
template<typename FPT > | |
PointPair_< FPT > | getPointPair (const Line2d_< FPT > &) |
Needed because of variant. More... | |
Holds free functions returning a pair of points.
auto h2d::ppair::getPointPair | ( | const T & | elem | ) |
Returns pair of points defining a BB of a primitive Overload 1/4, private free function.
Returns pair of points defining a BB of Segment Overload 4/4, private free function.
Returns pair of points defining a BB of a Polyline Overload 2/4, private free function.
Arg is a neither a Point2d, a Segment, a Line2d or a polyline
auto h2d::ppair::getPointPair | ( | const T & | elem | ) |
Returns pair of points defining a BB of a Point2d Overload 3/4, private free function.
This seems useless at first glance, but it is used to get the common bounding box of two objects when one of them (or both) is a point.
PointPair_<FPT> h2d::ppair::getPointPair | ( | const Line2d_< FPT > & | ) |
Needed because of variant.