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