|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jzy3d.maths.Coordinates
public class Coordinates
A simple utility class for storing a list of x, y, and z coordinates as arrays of float values.
Constructor Summary | |
---|---|
Coordinates(Coord3d[] coords)
Initialize a Grid with a list of coordinates values |
|
Coordinates(Coord3d coord1,
Coord3d... coords)
|
|
Coordinates(float[] x,
float[] y,
float[] z)
Initialize a list of coordinates with X, Y, and Z values |
|
Coordinates(java.util.List<Coord3d> coords)
Initialize a Grid with a list of coordinates values |
Method Summary | |
---|---|
float[] |
getX()
Return the array of X values. |
float[] |
getY()
Return the array of Y values. |
float[] |
getZ()
Return the array of Z values. |
Coord3d[] |
toArray()
Return the array of 3d coordinates. |
java.lang.String |
toString()
Return the array of 3d coordinates. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Coordinates(float[] x, float[] y, float[] z)
public Coordinates(Coord3d[] coords)
public Coordinates(Coord3d coord1, Coord3d... coords)
coord1
- coords
- public Coordinates(java.util.List<Coord3d> coords)
Method Detail |
---|
public float[] getX()
public float[] getY()
public float[] getZ()
public Coord3d[] toArray()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |