Class Coordinates
java.lang.Object
org.jzy3d.maths.Coordinates
A simple utility class for storing a list of x, y, and z coordinates as arrays of float values.
- Author:
- Martin Pernollet
-
Constructor Summary
ConstructorsConstructorDescriptionCoordinates(float[] x, float[] y, float[] z) Initialize a list of coordinates with X, Y, and Z valuesCoordinates(List<Coord3d> coords) Initialize a Grid with a list of coordinates valuesCoordinates(Coord3d[] coords) Initialize a Grid with a list of coordinates valuesCoordinates(Coord3d coord1, Coord3d... coords) -
Method Summary
-
Constructor Details
-
Coordinates
public Coordinates(float[] x, float[] y, float[] z) Initialize a list of coordinates with X, Y, and Z values -
Coordinates
Initialize a Grid with a list of coordinates values -
Coordinates
-
Coordinates
-
-
Method Details
-
getX
public float[] getX()Return the array of X values. -
getY
public float[] getY()Return the array of Y values. -
getZ
public float[] getZ()Return the array of Z values. -
toArray
Return the array of 3d coordinates. -
toString
-