Class PackedCoordinateSequence.Double

    • Constructor Detail

      • 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.