public double getDistanceL1(BuffPoint3d other) { return(Math.Abs(other.getX() - getX()) + Math.Abs(other.getY() - getY()) + Math.Abs(other.getZ() - getZ())); }
public double getDistanceCuad(BuffPoint3d other) { return(Square(other.getX() - getX()) + Square(other.getY() - getY()) + Square(other.getZ() - getZ())); }