Documentation of 'org.opengis.spatialschema.geometry.DirectPosition' Java class
DirectPosition
org.opengis.spatialschema.geometry

Interface DirectPosition

    • Method Detail

      • getCoordinates

        @UML(identifier="coordinates",
             obligation=MANDATORY,
             specification=ISO_19107)
        double[] getCoordinates()
        Returns the sequence of numbers that hold the coordinate of this position in its reference system.
        Returns:
        A copy of the coordinates. Changes in the returned array will not be reflected back in this DirectPosition object.
      • getOrdinate

        double getOrdinate(int dimension)
                    throws java.lang.IndexOutOfBoundsException
        Returns the ordinate at the specified dimension.
        Parameters:
        dimension - The dimension in the range 0 to dimension-1.
        Returns:
        The coordinate at the specified dimension.
        Throws:
        java.lang.IndexOutOfBoundsException - if the specified dimension is out of bounds.
      • setOrdinate

        void setOrdinate(int dimension,
                         double value)
                  throws java.lang.IndexOutOfBoundsException
        Sets the ordinate value along the specified dimension.
        Parameters:
        dimension - the dimension for the ordinate of interest.
        value - the ordinate value of interest.
        Throws:
        java.lang.IndexOutOfBoundsException - if the specified dimension is out of bounds.
      • clone

        java.lang.Object clone()
        Makes an exact copy of this coordinate.
        See Also:
        Object.clone()

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.