considerPointsEquals2D method
Implementation
bool considerPointsEquals2D(Vector3 a, Vector3 b) {
var atol = toleranceForPointEquality;
var rtol = 1.0e-5;
if ((a.x - b.x).abs() > atol + rtol * b.x.abs()) {
return false;
}
if ((a.y - b.y).abs() > atol + rtol * b.y.abs()) {
return false;
}
return true;
}