congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
BursaWolfParameters.verify
Code IndexAdd Tabnine to your IDE (free)

How to use
verify
method
in
org.apache.sis.referencing.datum.BursaWolfParameters

Best Java code snippets using org.apache.sis.referencing.datum.BursaWolfParameters.verify (Showing top 7 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
List l =
  • Codota Iconnew ArrayList()
  • Codota Iconnew LinkedList()
  • Smart code suggestions by Tabnine
}
origin: org.apache.sis.core/sis-referencing

/**
 * Verifies parameters validity after initialization.
 */
@Override
void verify(final PrimeMeridian pm) throws IllegalArgumentException {
  super.verify(pm);
  ensureFinite("dtX", dtX);
  ensureFinite("dtY", dtY);
  ensureFinite("dtZ", dtZ);
  ensureFinite("drX", drX);
  ensureFinite("drY", drY);
  ensureFinite("drZ", drZ);
}
origin: apache/sis

/**
 * Verifies parameters validity after initialization.
 */
@Override
void verify(final PrimeMeridian pm) throws IllegalArgumentException {
  super.verify(pm);
  ensureFinite("dtX", dtX);
  ensureFinite("dtY", dtY);
  ensureFinite("dtZ", dtZ);
  ensureFinite("drX", drX);
  ensureFinite("drY", drY);
  ensureFinite("drZ", drZ);
}
origin: org.apache.sis.core/sis-referencing

ensureNonNullElement("bursaWolf", i, param);
param = param.clone();
param.verify(primeMeridian);
bursaWolf[i] = param;
origin: apache/sis

ensureNonNullElement("bursaWolf", i, param);
param = param.clone();
param.verify(primeMeridian);
bursaWolf[i] = param;
origin: apache/sis

/**
 * Returns the parameters for the <cite>WGS 72 to WGS 84 (2)</cite> transformation (EPSG:1238).
 * Area of validity is the World.
 */
static BursaWolfParameters createWGS72_to_WGS84() {
  final BursaWolfParameters bursaWolf = new BursaWolfParameters(GeodeticDatumMock.WGS84, Extents.WORLD);
  bursaWolf.tZ = 4.5;
  bursaWolf.rZ = 0.554;
  bursaWolf.dS = 0.219;
  bursaWolf.verify(PrimeMeridianMock.GREENWICH);
  assertFalse("isIdentity",    bursaWolf.isIdentity());
  assertFalse("isTranslation", bursaWolf.isTranslation());
  return bursaWolf;
}
origin: apache/sis

/**
 * Returns the parameters for the <cite>NTF to WGS 84 (1)</cite> transformation (EPSG:1193).
 * Area of validity is France - onshore - mainland and Corsica.
 * This transformation uses only translation parameters.
 */
static BursaWolfParameters createNTF_to_WGS84() {
  final BursaWolfParameters bursaWolf = new BursaWolfParameters(GeodeticDatumMock.WGS84, Extents.WORLD);
  bursaWolf.tX = -168;
  bursaWolf.tY =  -60;
  bursaWolf.tZ =  320;
  bursaWolf.verify(PrimeMeridianMock.GREENWICH);
  assertFalse("isIdentity",    bursaWolf.isIdentity());
  assertTrue ("isTranslation", bursaWolf.isTranslation());
  return bursaWolf;
}
origin: apache/sis

/**
 * Returns the parameters for the <cite>ED87 to WGS 84 (1)</cite> transformation (EPSG:1146).
 * Area of validity is the North Sea: 5.05°W to 11.13°E in longitude and 51.04°N to 62.0°N in latitude.
 */
static BursaWolfParameters createED87_to_WGS84() {
  final BursaWolfParameters bursaWolf = new BursaWolfParameters(GeodeticDatumMock.WGS84, new DefaultExtent("Europe - North Sea",
      new DefaultGeographicBoundingBox(-5.05, 11.13, 51.04, 62.0), null, null));
  bursaWolf.tX =  -82.981;
  bursaWolf.tY =  -99.719;
  bursaWolf.tZ = -110.709;
  bursaWolf.rX =   -0.5076;
  bursaWolf.rY =    0.1503;
  bursaWolf.rZ =    0.3898;
  bursaWolf.dS =   -0.3143;
  bursaWolf.verify(PrimeMeridianMock.GREENWICH);
  assertFalse("isIdentity",    bursaWolf.isIdentity());
  assertFalse("isTranslation", bursaWolf.isTranslation());
  return bursaWolf;
}
org.apache.sis.referencing.datumBursaWolfParametersverify

Javadoc

Verifies parameters validity after initialization of DefaultGeodeticDatum. This method requires that the prime meridian of the target datum is either the same than the enclosing GeodeticDatum, or Greenwich. We put this restriction for avoiding ambiguity about whether the longitude rotation should be applied before or after the datum shift.

If the target prime meridian is Greenwich, then SIS will assume that the datum shift needs to be applied in a coordinate system having Greenwich as the prime meridian.

Maintenance note: if the above policy regarding prime meridians is modified, then some createOperationStep(…) method implementations in org.apache.sis.referencing.operation.CoordinateOperationFinder may need to be revisited. See especially the methods creating a transformation between a pair of GeocentricCRS or between a pair of GeographicCRS (tip: search for DefaultGeodeticDatum).

Popular methods of BursaWolfParameters

  • getTargetDatum
    Returns the target datum for this set of parameters, or null if unknown. This is usually the WGS 84
  • isIdentity
    Returns true if a transformation built from this set of parameters would perform no operation. This
  • isTranslation
    Returns true if a transformation built from this set of parameters would perform only a translation.
  • <init>
    Creates a new instance for the given target datum and domain of validity. All numerical parameters a
  • equals
    Compares the specified object with this object for equality.
  • getDomainOfValidity
    Returns the region or timeframe in which a coordinate transformation based on those Bursa-Wolf param
  • getPositionVectorTransformation
    Returns the position vector transformation (geocentric domain) as an affine transform. For transform
  • getValues
    Returns the parameter values. The length of the returned array depends on the values: * If this inst
  • setPositionVectorTransformation
    Sets all Bursa-Wolf parameters from the given Position Vector transformation matrix. The matrix sha
  • setValues
    Sets the parameters to the given values. The given array can have any length. The first array elemen
  • clone
    Returns a copy of this object.
  • getNumber
    Retrieves the value at the specified row and column of the given matrix, wrapped in a Number. The Nu
  • clone,
  • getNumber,
  • hashCode,
  • invert,
  • isToWGS84,
  • param,
  • period,
  • reverseRotation,
  • toString

Popular in Java

  • Making http post requests using okhttp
  • findViewById (Activity)
  • setScale (BigDecimal)
  • getExternalFilesDir (Context)
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • Collectors (java.util.stream)
  • JOptionPane (javax.swing)
  • 21 Best Atom Packages for 2021
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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