Tabnine Logo
FlatEarth.getOriginLon
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: edu.ucar/unidataCommon

/**
 * Check for equality with the Object in question
 *
 * @param proj  object to check
 * @return true if they are equal
 */
public boolean equals(Object proj) {
  if ( !(proj instanceof FlatEarth)) {
    return false;
  }
  FlatEarth oo = (FlatEarth) proj;
  return ((this.getOriginLat() == oo.getOriginLat())
      && (this.getOriginLon() == oo.getOriginLon())
      && (this.rotAngle == oo.rotAngle));
}
origin: edu.ucar/unidataCommon

/**
 * Clone this projection.
 *
 * @return Clone of this
 */
public Object clone() {
  FlatEarth cl = (FlatEarth) super.clone();
  cl.origin = new LatLonPointImpl(getOriginLat(), getOriginLon());
  return cl;
}
origin: edu.ucar/unidataCommon

 /** copy constructor - avoid clone !! */
public ProjectionImpl constructCopy() {
 return new FlatEarth( getOriginLat(), getOriginLon(), getRotationAngle());     
}
origin: edu.ucar/cdm

/**
 * origin
 */
//private LatLonPointImpl origin;  // why are we keeping this?
@Override
public ProjectionImpl constructCopy() {
 ProjectionImpl result = new FlatEarth(getOriginLat(), getOriginLon(), getRotationAngle());
 result.setDefaultMapArea(defaultMapArea);
 result.setName(name);
 return result;
}
origin: Unidata/thredds

/**
 * origin
 */
//private LatLonPointImpl origin;  // why are we keeping this?
@Override
public ProjectionImpl constructCopy() {
 ProjectionImpl result = new FlatEarth(getOriginLat(), getOriginLon(), getRotationAngle());
 result.setDefaultMapArea(defaultMapArea);
 result.setName(name);
 return result;
}
origin: edu.ucar/netcdf

/**
 * origin
 */
//private LatLonPointImpl origin;  // why are we keeping this?
@Override
public ProjectionImpl constructCopy() {
 ProjectionImpl result = new FlatEarth(getOriginLat(), getOriginLon(), getRotationAngle());
 result.setDefaultMapArea(defaultMapArea);
 result.setName(name);
 return result;
}
ucar.unidata.geoloc.projectionFlatEarthgetOriginLon

Javadoc

Get the origin longitude.

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.
  • getRotationAngle
    Get the rotation angle.
  • latLonToProj
    Convert lat/lon coordinates to projection coordinates.
  • 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

  • Making http requests using okhttp
  • getExternalFilesDir (Context)
  • putExtra (Intent)
  • notifyDataSetChanged (ArrayAdapter)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • JButton (javax.swing)
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now