operator == method
Compares coordinates for equality.
Implementation
@override
bool operator ==(Object other)
{
if (other is Coordinate3) {
return this.x == other.x && this.y == other.y && this.z == other.z;
}
else {
return false;
}
}