Class OrdinateList

  • All Implemented Interfaces:
    Iterable, Collection, List

    public class OrdinateList
    extends AbstractList
    Used to provide a List API of an ordinate array.

    Insertions are not supported

    Author:
    jgarnett, Refractions Reasearch Inc.
    See Also:
    net.refractions.jspatial.jts
    • Constructor Detail

      • OrdinateList

        public OrdinateList​(double[] array)
      • OrdinateList

        public OrdinateList​(double[] array,
                            int offset,
                            int len)
      • OrdinateList

        public OrdinateList​(double[] array,
                            int offset,
                            int len,
                            int start,
                            int end)
    • Method Detail

      • getDouble

        public double getDouble​(int index)
        Quick double access
      • toDoubleArray

        public double[] toDoubleArray()