15 #ifndef __IPSDKMATH_CIRCLE2D_H__ 16 #define __IPSDKMATH_CIRCLE2D_H__ 40 return 2 * M_PI * radius;
47 return M_PI * radius * radius;
56 #endif // __IPSDKMATH_CIRCLE2D_H__ Definition of import/export macro for library.
Defines the IPSDK_FORCEINLINE.
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
double ipReal64
Base types definition.
Definition: BaseTypes.h:57
Predefined constants for ipsdk math library.
IPSDK_FORCEINLINE ipReal64 circleArea(const ipReal64 radius)
compute circle area
Definition: Circle2d.h:45
#define IPSDKMATH_API
Import/Export macro for library IPSDKMath.
Definition: IPSDKMathExports.h:27
IPSDKMATH_API bool circleFromPoints(const ipReal64 x0, const ipReal64 y0, const ipReal64 x1, const ipReal64 y1, const ipReal64 x2, const ipReal64 y2, ipReal64 &xc, ipReal64 &yc, ipReal64 &radius)
computation of circle parameters from three points
IPSDK_FORCEINLINE ipReal64 circlePerimeter(const ipReal64 radius)
compute circle perimeter
Definition: Circle2d.h:38