Documentation of 'org.jzy3d.maths.Coordinates' Java class
Coordinates
org.jzy3d.maths

Class Coordinates



  • public class Coordinates
    extends java.lang.Object
    A simple utility class for storing a list of x, y, and z coordinates as arrays of float values.
    • Constructor Summary

      Constructors 
      Constructor and Description
      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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      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

      • Coordinates

        public Coordinates(float[] x,
                           float[] y,
                           float[] z)
        Initialize a list of coordinates with X, Y, and Z values
      • Coordinates

        public Coordinates(Coord3d[] coords)
        Initialize a Grid with a list of coordinates values
      • Coordinates

        public Coordinates(Coord3d coord1,
                           Coord3d... coords)
        Parameters:
        coord1 -
        coords -
      • Coordinates

        public Coordinates(java.util.List<Coord3d> coords)
        Initialize a Grid with a list of coordinates values
    • Method Detail

      • 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

        public Coord3d[] toArray()
        Return the array of 3d coordinates.
      • toString

        public java.lang.String toString()
        Return the array of 3d coordinates.
        Overrides:
        toString in class java.lang.Object

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.