Point extends Location { public void copy(Location origin, Location result) { result.setX(relative[X] ? getX() + origin.getX() : getX()); result.setY(relative[Y] ? getY() + origin.getY() : getY()); result.setZ(relative[Z] ? getZ() + origin.getZ() : getZ()); if (rotation) { Vectors.rotate(result, origin); } } Point();  Point(double x, double y, double z);  Point(@Nullable World world, double x, double y, double z);  Point(@Nullable World world, double x, double y, double z, float yaw, float pitch); void copy(Location origin, Location result); void copy(Location origin, Vector result); void align(Location origin); Point set(Axis axis, double value); boolean relative(Axis axis); Point relative(Axis axis, boolean relative); boolean rotation(); Point rotation(boolean rotation); @Override boolean equals(Object object); @Override int hashCode(); @Override String toString();  }
@Test void copy_absolute_location() { source.copy(origin, point); assertEquals(new Point(1, 2, 3), point); }
@Test void copy_absolute_vector() { source.copy(origin, vector); assertEquals(new Vector(1, 2, 3), vector); }