Codota Logo
FlatEarth.latLonToProj
Code IndexAdd Codota to your IDE (free)

How to use
latLonToProj
method
in
ucar.unidata.geoloc.projection.FlatEarth

Best Java code snippets using ucar.unidata.geoloc.projection.FlatEarth.latLonToProj (Showing top 4 results out of 315)

  • Common ways to obtain FlatEarth
private void myMethod () {
FlatEarth f =
  • Codota Iconnew FlatEarth()
  • Codota Iconnew FlatEarth(double1, -100, double2)
  • Codota Iconnew ucar.unidata.geoloc.projection.FlatEarth(lat0, lon0, rotAngle, radius)
  • Smart code suggestions by Codota
}
origin: edu.ucar/netcdf

/**
 * Test
 *
 * @param args not used
 */
public static void main(String[] args) {
 FlatEarth a = new FlatEarth(90, -100, 0.0);
 ProjectionPointImpl p = a.latLonToProj(89, -101);
 System.out.println("proj point = " + p);
 LatLonPoint ll = a.projToLatLon(p);
 System.out.println("ll = " + ll);
}
origin: edu.ucar/unidataCommon

/**
 * Test
 *
 * @param args not used
 */
public static void main(String[] args) {
  FlatEarth           a = new FlatEarth(90, -100, 0.0);
  ProjectionPointImpl p = a.latLonToProj(89, -101);
  System.out.println("proj point = " + p);
  LatLonPoint ll = a.projToLatLon(p);
  System.out.println("ll = " + ll);
}
origin: edu.ucar/cdm

/**
 * Test
 *
 * @param args not used
 */
public static void main(String[] args) {
 FlatEarth a = new FlatEarth(90, -100, 0.0);
 ProjectionPoint p = a.latLonToProj(89, -101);
 System.out.println("proj point = " + p);
 LatLonPoint ll = a.projToLatLon(p);
 System.out.println("ll = " + ll);
}
origin: Unidata/thredds

/**
 * Test
 *
 * @param args not used
 */
public static void main(String[] args) {
 FlatEarth a = new FlatEarth(90, -100, 0.0);
 ProjectionPoint p = a.latLonToProj(89, -101);
 System.out.println("proj point = " + p);
 LatLonPoint ll = a.projToLatLon(p);
 System.out.println("ll = " + ll);
}
ucar.unidata.geoloc.projectionFlatEarthlatLonToProj

Javadoc

Convert a LatLonPoint to projection coordinates

Popular methods of FlatEarth

  • <init>
    Construct a FlatEarth Projection, two standard parellels. For the one standard parellel case, set th
  • addParameter
  • getOriginLat
    Get the origin latitude.
  • getOriginLon
    Get the origin longitude.
  • getRotationAngle
    Get the rotation angle.
  • precalculate
    Precalculate some stuff
  • projToLatLon
    Convert lat/lon coordinates to projection coordinates.
  • toString
  • constructCopy
    origin
  • equals
    Check for equality with the Object in question

Popular in Java

  • Finding current android device location
  • getContentResolver (Context)
  • notifyDataSetChanged (ArrayAdapter)
  • startActivity (Activity)
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • URI (java.net)
    Represents a Uniform Resource Identifier (URI) reference. Aside from some minor deviations noted bel
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • Stack (java.util)
    The Stack class represents a last-in-first-out (LIFO) stack of objects. It extends class Vector with
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now