Class PackedCoordinateSequence.Double

java.lang.Object
org.locationtech.jts.geom.impl.PackedCoordinateSequence
org.locationtech.jts.geom.impl.PackedCoordinateSequence.Double
All Implemented Interfaces:
Serializable, Cloneable, CoordinateSequence
Enclosing class:
PackedCoordinateSequence

public static class PackedCoordinateSequence.Double extends PackedCoordinateSequence
Packed coordinate sequence implementation based on doubles
See Also:
  • Constructor Details

    • Double

      public Double(double[] coords, int dimension, int measures)
      Builds a new packed coordinate sequence
      Parameters:
      coords - an array of double values that contains the ordinate values of the sequence
      dimension - the total number of ordinates that make up a Coordinate in this sequence.
      measures - the number of measure-ordinates each Coordinate in this sequence has.
    • Double

      public Double(float[] coords, int dimension, int measures)
      Builds a new packed coordinate sequence out of a float coordinate array
      Parameters:
      coords - an array of float values that contains the ordinate values of the sequence
      dimension - the total number of ordinates that make up a Coordinate in this sequence.
      measures - the number of measure-ordinates each Coordinate in this sequence has.
    • Double

      public Double(Coordinate[] coordinates, int dimension)
      Builds a new packed coordinate sequence out of a coordinate array
      Parameters:
      coordinates - an array of Coordinates
      dimension - the total number of ordinates that make up a Coordinate in this sequence.
    • Double

      public Double(Coordinate[] coordinates, int dimension, int measures)
      Builds a new packed coordinate sequence out of a coordinate array
      Parameters:
      coordinates - an array of Coordinates
      dimension - the total number of ordinates that make up a Coordinate in this sequence.
      measures - the number of measure-ordinates each Coordinate in this sequence has.
    • Double

      public Double(Coordinate[] coordinates)
      Builds a new packed coordinate sequence out of a coordinate array
      Parameters:
      coordinates - an array of Coordinates
    • Double

      public Double(int size, int dimension, int measures)
      Builds a new empty packed coordinate sequence of a given size and dimension
      Parameters:
      size - the number of coordinates in this sequence
      dimension - the total number of ordinates that make up a Coordinate in this sequence.
      measures - the number of measure-ordinates each Coordinate in this sequence has.
  • Method Details