All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.geolatte.geom.V Maven / Gradle / Ivy

Go to download

This geoLatte-geom library offers a geometry model that conforms to the OGC Simple Features for SQL specification.

The newest version!
package org.geolatte.geom;

/**
 * Created by Karel Maesen, Geovise BVBA on 29/11/14.
 */
public class V extends Position{

    /**
     * Constructs an empty instance
     */
    public V() {
        super();
    }

    /**
     * Constructs an instance with the specified vertical value
     *
     * @param value the vertical value
     */
    public V(double value) {
        super(value);
    }

    /**
     * Constructs an instance from the specified coordinate.
     *
     * @param coords
     */
    protected V(double... coords) {
        super(coords);
    }

    public double getValue() {
        return getCoordinate(0);
    }

    @Override
    public int getCoordinateDimension() {
        return 1;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy