Checks for equality. Two points are considered equal, if their coordinates match.
Source
bool operator==(Object o) {
if (o is Point3D) {
return this.x == o.x && this.y == o.y && this.z == o.z;
} else {
return false;
}
}
Checks for equality. Two points are considered equal, if their coordinates match.
bool operator==(Object o) {
if (o is Point3D) {
return this.x == o.x && this.y == o.y && this.z == o.z;
} else {
return false;
}
}