Two points intersection.
More...
#include <homog2d.hpp>
template<typename FPT>
class h2d::detail::Intersect< Inters_2, FPT >
Two points intersection.
◆ Intersect() [1/3]
◆ Intersect() [2/3]
2505 : _ptIntersect_1(p1), _ptIntersect_2(p2)
bool _doesIntersect
Definition: homog2d.hpp:2442
◆ Intersect() [3/3]
template<typename FPT >
template<typename FPT2 >
To enable conversions from different floating-point types.
2512 : IntersectCommon( other )
2514 auto ppts = other.get();
2515 _ptIntersect_1 = ppts.first;
2516 _ptIntersect_2 = ppts.second;
◆ get()
2525 return std::make_pair( _ptIntersect_1, _ptIntersect_2 );
bool _doesIntersect
Definition: homog2d.hpp:2442
#define HOMOG2D_THROW_ERROR_1(msg)
Error throw wrapper macro.
Definition: homog2d.hpp:181
◆ size()
bool _doesIntersect
Definition: homog2d.hpp:2442
◆ ::h2d::base::LPBase
template<typename FPT >
template<typename U , typename V >
◆ operator<<
template<typename FPT >
std::ostream& operator<< |
( |
std::ostream & |
f, |
|
|
const Intersect< Inters_2, FPT > & |
inters |
|
) |
| |
|
friend |
2533 f <<
"bool=" << inters._doesIntersect
2534 <<
" p1:" << inters._ptIntersect_1
2535 <<
" p2:" << inters._ptIntersect_2;
The documentation for this class was generated from the following file: