Class NTV2Datum

    • Constructor Detail

      • NTV2Datum

        public NTV2Datum​(java.lang.String name,
                         java.lang.String proj4Id,
                         Ellipsoid ellps,
                         NTV2GridShiftFileWrapper nadgrids)
        Constructs a new NTV2Datum.
        Parameters:
        name - datum name
        proj4Id - PROJ.4 id
        ellps - ellipsoid
        nadgrids - NTV2 grid shift file wrapper
    • Method Detail

      • toWGS84

        public LatLon toWGS84​(LatLon ll)
        Description copied from interface: Datum
        Convert lat/lon from this datum to Ellipsoid.WGS84 datum.
        Parameters:
        ll - original lat/lon in this datum
        Returns:
        lat/lon converted to WGS84
      • fromWGS84

        public LatLon fromWGS84​(LatLon ll)
        Description copied from interface: Datum
        Convert lat/lon from Ellipsoid.WGS84 to this datum.
        Parameters:
        ll - original lat/lon in WGS84
        Returns:
        converted lat/lon in this datum