15 #ifndef __IPSDKMATH_VECTOR3D_H__ 16 #define __IPSDKMATH_VECTOR3D_H__ 32 normL2(
const T x,
const T y,
const T z)
41 const T x2,
const T y2,
const T z2)
43 return x1*x2 + y1*y2 + z1*z2;
48 IPSDK_FORCEINLINE
void 50 const T x2,
const T y2,
const T z2,
51 T& xRes, T& yRes, T& zRes)
64 #endif // __IPSDKMATH_VECTOR3D_H__ Definition of import/export macro for library.
Defines the IPSDK_FORCEINLINE.
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
IPSDK_FORCEINLINE PackT sqrt(const PackT &in)
returns the square root of a pack
Definition: sqrt.h:40
double ipReal64
Base types definition.
Definition: BaseTypes.h:57
Predefined constants for ipsdk math library.
Base types for multiplatform compatibility.
IPSDK_FORCEINLINE T scalarProduct(const T x1, const T y1, const T x2, const T y2)
Scalar product of two 2d vectors.
Definition: Vector2d.h:40
IPSDK_FORCEINLINE void crossProduct(const T x1, const T y1, const T z1, const T x2, const T y2, const T z2, T &xRes, T &yRes, T &zRes)
Cross product of two 3d vectors.
Definition: Vector3d.h:49
IPSDK_FORCEINLINE ipReal64 normL2(const T x, const T y)
L2 norm of a 2d vector.
Definition: Vector2d.h:32