![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
Utility functions used to handle segments 2d. More...
Go to the source code of this file.
Namespaces | |
| ipsdk | |
| Main namespace for IPSDK library. | |
| ipsdk::math | |
| Namespace agregating IPSDK mathematical routines and classes. | |
Functions | |
| template<typename T > | |
| IPSDKMATH_API bool | ipsdk::math::segmentsIntersects (const T xSegStart0, const T ySegStart0, const T xSegEnd0, const T ySegEnd0, const T xSegStart1, const T ySegStart1, const T xSegEnd1, const T ySegEnd1) |
| check whether two segments intersect | |
| template<typename T > | |
| IPSDKMATH_API ipReal64 | ipsdk::math::pointSegmentDistance (const T xPt, const T yPt, const T xSegStart, const T ySegStart, const T xSegEnd, const T ySegEnd) |
| Euclidian distance between a point and a segment. | |
| template<typename T > | |
| IPSDKMATH_API ipReal64 | ipsdk::math::pointSegmentDistance (const T xPt, const T yPt, const T xSegStart, const T ySegStart, const T xSegEnd, const T ySegEnd, ipReal64 &xMinDistPt, ipReal64 &yMinDistPtSeg) |
| Euclidian distance between a point and a segment. | |
| template<typename T > | |
| IPSDKMATH_API ipReal64 | ipsdk::math::segmentsDistance (const T xSegStart0, const T ySegStart0, const T xSegEnd0, const T ySegEnd0, const T xSegStart1, const T ySegStart1, const T xSegEnd1, const T ySegEnd1) |
| Euclidian distance between two segments. | |
| template<typename T > | |
| IPSDKMATH_API ipReal64 | ipsdk::math::segmentsDistance (const T xSegStart0, const T ySegStart0, const T xSegEnd0, const T ySegEnd0, const T xSegStart1, const T ySegStart1, const T xSegEnd1, const T ySegEnd1, ipReal64 &xMinDistPtSeg0, ipReal64 &yMinDistPtSeg0, ipReal64 &xMinDistPtSeg1, ipReal64 &yMinDistPtSeg1) |
| Euclidian distance between two segments. | |
Utility functions used to handle segments 2d.
1.8.14