Tolerances represent a measure of equivalence in operations with vectors and points and are used as parameters of
many methods in the Ge library. A tolerance is represented by an object of the OdGeTol class and always has a default
value, as defined in OdGeContext::gTol. For example, the isClosed() method determines whether the start and end points
are within the defined tolerance, and if they are, returns the true value.
To create a new tolerance object, use the following OdGeTol() constructors:
OdGeTol::OdGeTol(double t = 1.e-10) — Creates a tolerance using the same value for vectors and points.
OdGeTol::OdGeTol(double t1, double t2) — Creates a tolerance using the t1 value for vectors and t2 value for points.
The OdGeTol class contains the setEqualPoint() and setEqualVector() methods for setting the tolerance of points and vectors: