Point2D.isEqualToByTolerance Method

Parent Object: Point2D
Defined in namespace "adsk::core" and the header file is <Core/Geometry/Point2D.h>

Description

Checks to see if this point and another point are equal within the specified tolerance.

Syntax

"point2D_var" is a variable referencing a Point2D object.
returnValue = point2D_var.isEqualToByTolerance(point, tolerance)
"point2D_var" is a variable referencing a Point2D object.

#include <Core/Geometry/Point2D.h>

returnValue = point2D_var->isEqualToByTolerance(point, tolerance);

Return Value

Type Description
boolean Returns true if the points are equal (have identical coordinates).

Parameters

Name Type Description
point Point2D The point to compare for equality.
tolerance double The tolerance, in centimeters, to use when comparing the two points.

Version

Introduced in version December 2017