15 #ifndef __IPSDKMATH_POINT2D_H__ 16 #define __IPSDKMATH_POINT2D_H__ 31 const T x2,
const T y2)
33 return normL2(x2-x1, y2-y1);
42 #endif // __IPSDKMATH_POINT2D_H__ Definition of import/export macro for library.
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
double ipReal64
Base types definition.
Definition: BaseTypes.h:57
Utility functions used to handle vectors 2d.
IPSDK_FORCEINLINE ipReal64 distance(const T x1, const T y1, const T x2, const T y2)
Euclidian distance between 2d points.
Definition: Point2d.h:30
IPSDK_FORCEINLINE ipReal64 normL2(const T x, const T y)
L2 norm of a 2d vector.
Definition: Vector2d.h:32