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

org.geolatte.geom.crs.VerticalCoordinateReferenceSystem Maven / Gradle / Ivy

Go to download

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

There is a newer version: 1.9.1
Show newest version
package org.geolatte.geom.crs;

import org.geolatte.geom.Position;
import org.geolatte.geom.V;

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

    private final VerticalDatum datum;

    /**
     * Constructs an instance.
     *
     * @param crsId the authority and authority c
     * @param name
     */
    public VerticalCoordinateReferenceSystem(CrsId crsId, String name, VerticalDatum datum, VerticalStraightLineAxis axis) {
        super(crsId, name, new OneDimensionCoordinateSystem(axis, V.class));
        this.datum = datum;
    }

    public VerticalDatum getDatum() {
        return datum;
    }

    public VerticalStraightLineAxis getVerticalAxis() {
        return (VerticalStraightLineAxis)getCoordinateSystem().getAxis(0);
    }

    public LinearUnit getUnit() {
        return getVerticalAxis().getUnit();
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy