public class TimeDependentBWP extends BursaWolfParameters
tX
, tY
, tZ
, rX
, rY
, rZ
and dS
parameters inherited from the parent class are values at a point in time given
by getTimeReference()
. Those values vary at a rate given by the parameters listed in the
table below (codes, names and abbreviations are from the EPSG database):
Code | Name | Abbr. |
---|---|---|
1040 | Rate of change of X-axis translation | dtX |
1041 | Rate of change of Y-axis translation | dtY |
1042 | Rate of change of Z-axis translation | dtZ |
1043 | Rate of change of X-axis rotation | drX |
1044 | Rate of change of Y-axis rotation | drY |
1045 | Rate of change of Z-axis rotation | drZ |
1046 | Rate of change of scale difference | ddS |
TimeDependentBWP
class uses the EPSG abbreviations
with 4 additional constraints compared to the EPSG definitions:
ddS
is fixed to parts per million per year.dtX
, dtY
and dtZ
is fixed to millimetres per year.drX
, drY
and drZ
is fixed to milli arc-seconds per year.Defined in the sis-referencing
module
Modifier and Type | Field and Description |
---|---|
double |
ddS
Rate of change of the scale difference in parts per million per year (EPSG:1046).
|
double |
drX
Rate of change of X-axis rotation in milli arc-seconds per year (EPSG:1043),
sign following the Position Vector convention.
|
double |
drY
Rate of change of Y-axis rotation in milli arc-seconds per year (EPSG:1044),
sign following the Position Vector convention.
|
double |
drZ
Rate of change of Z-axis rotation in milli arc-seconds per year (EPSG:1045),
sign following the Position Vector convention.
|
double |
dtX
Rate of change of X-axis translation in millimetres per year (EPSG:1040).
|
double |
dtY
Rate of change of Y-axis translation in millimetres per year (EPSG:1041).
|
double |
dtZ
Rate of change of Z-axis translation in millimetres per year (EPSG:1042).
|
Constructor and Description |
---|
TimeDependentBWP(GeodeticDatum targetDatum,
Extent domainOfValidity,
Date timeReference)
Creates a new instance for the given target datum, domain of validity and time reference.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object)
Compares the specified object with this object for equality.
|
Date |
getTimeReference()
Returns the reference epoch for time-dependent parameters.
|
double[] |
getValues()
Returns the parameter values.
|
int |
hashCode()
Returns a hash value for this object.
|
boolean |
isIdentity()
Returns
true if a transformation built from this set of parameters would perform no operation. |
boolean |
isTranslation()
Returns
true if a transformation built from this set of parameters would perform only a translation. |
void |
reverseRotation()
Inverts in-place the sign of rotation terms and their derivative.
|
void |
setValues(double... elements)
Sets the parameters to the given values.
|
clone, formatTo, getDomainOfValidity, getPositionVectorTransformation, getTargetDatum, invert, setPositionVectorTransformation
print, toString, toString, toWKT
public double dtX
public double dtY
public double dtZ
public double drX
public double drY
public double drZ
public double ddS
public TimeDependentBWP(GeodeticDatum targetDatum, Extent domainOfValidity, Date timeReference)
targetDatum
- the target datum (usually WGS 84) for this set of parameters.domainOfValidity
- area or region in which a coordinate transformation based on those Bursa-Wolf parameters
is valid, or null
is unspecified.timeReference
- the reference epoch for time-dependent parameters.public Date getTimeReference()
public double[] getValues()
tX
, tY
, tZ
,
rX
, rY
, rZ
, dS
, dtX
, dtY
, dtZ
,
drX
, drY
, drZ
and ddS
in that order.getValues
in class BursaWolfParameters
public void setValues(double... elements)
tX
, tY
, tZ
, rX
, rY
, rZ
,
dS
, dtX
, dtY
, dtZ
, drX
, drY
, drZ
and
ddS
fields in that order.setValues
in class BursaWolfParameters
elements
- the new parameter values, as an array of any length.public boolean isIdentity()
true
if a transformation built from this set of parameters would perform no operation.
This is true when the value of all parameters is zero.isIdentity
in class BursaWolfParameters
true
if the parameters describe no operation.public boolean isTranslation()
true
if a transformation built from this set of parameters would perform only a translation.isTranslation
in class BursaWolfParameters
true
if the parameters describe a translation only.public void reverseRotation()
reverseRotation
in class BursaWolfParameters
public boolean equals(Object object)
equals
in class BursaWolfParameters
object
- the object to compare with the parameters.true
if the given object is equal to this TimeDependentBWP
.public int hashCode()
hashCode
in class BursaWolfParameters
Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.