MyScript Interactive Ink SDK  4.0.0
MathUtils.h
1 // Copyright @ MyScript. All rights reserved.
2 
3 #pragma once
4 
5 #include <iink/Engine.h>
6 
7 
8 namespace myscript {
9 namespace iink {
10 
14 class MathUtils
15 {
16 public:
27  static bool IINK_API isNear(float x, float y, float absolute_tolerance, float relative_tolerance);
28 
39  static bool IINK_API isNear(float x, float y);
40 
51  static bool IINK_API isNear(double x, double y, double absolute_tolerance, double relative_tolerance);
52 
63  static bool IINK_API isNear(double x, double y);
64 };
65 
66 }
67 }
Definition: MathUtils.h:15
static bool isNear(float x, float y)
static bool isNear(double x, double y)
static bool isNear(float x, float y, float absolute_tolerance, float relative_tolerance)
static bool isNear(double x, double y, double absolute_tolerance, double relative_tolerance)
Definition: Configuration.h:11