IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Namespaces | Functions
Segment3d.h File Reference

Utility functions used to handle segments 3d. More...

#include <IPSDKMath/IPSDKMathExports.h>
#include <IPSDKUtil/BaseTypes.h>

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 zSegStart0, const T xSegEnd0, const T ySegEnd0, const T zSegEnd0, const T xSegStart1, const T ySegStart1, const T zSegStart1, const T xSegEnd1, const T ySegEnd1, const T zSegEnd1)
 check whether two segments intersect
 
template<typename T >
IPSDKMATH_API ipReal64 ipsdk::math::pointSegmentDistance (const T xPt, const T yPt, const T zPt, const T xSegStart, const T ySegStart, const T zSegStart, const T xSegEnd, const T ySegEnd, const T zSegEnd)
 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 zPt, const T xSegStart, const T ySegStart, const T zSegStart, const T xSegEnd, const T ySegEnd, const T zSegEnd, ipReal64 &xMinDistPt, ipReal64 &yMinDistPtSeg, ipReal64 &zMinDistPtSeg)
 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 zSegStart0, const T xSegEnd0, const T ySegEnd0, const T zSegEnd0, const T xSegStart1, const T ySegStart1, const T zSegStart1, const T xSegEnd1, const T ySegEnd1, const T zSegEnd1)
 Euclidian distance between two segments.
 
template<typename T >
IPSDKMATH_API ipReal64 ipsdk::math::segmentsDistance (const T xSegStart0, const T ySegStart0, const T zSegStart0, const T xSegEnd0, const T ySegEnd0, const T zSegEnd0, const T xSegStart1, const T ySegStart1, const T zSegStart1, const T xSegEnd1, const T ySegEnd1, const T zSegEnd1, ipReal64 &xMinDistPtSeg0, ipReal64 &yMinDistPtSeg0, ipReal64 &zMinDistPtSeg0, ipReal64 &xMinDistPtSeg1, ipReal64 &yMinDistPtSeg1, ipReal64 &zMinDistPtSeg1)
 Euclidian distance between two segments.
 

Detailed Description

Utility functions used to handle segments 3d.

Author
E.Noirfalise
Date
2016/08/03