Package com.irurueta.navigation.inertial
Class RadiiOfCurvature
java.lang.Object
com.irurueta.navigation.inertial.RadiiOfCurvature
- All Implemented Interfaces:
Serializable,Cloneable
Contains radii of curvature of the WGS84 ellipsoid at a given latitude.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate doubleTransverse radius of curvature expressed in meters (m).private doubleMeridian radius of curvature expressed in meters (m).private static final longSerialization version. -
Constructor Summary
ConstructorsConstructorDescriptionConstructor.RadiiOfCurvature(double rn, double re) Constructor.RadiiOfCurvature(RadiiOfCurvature input) Constructor.RadiiOfCurvature(com.irurueta.units.Distance rnDistance, com.irurueta.units.Distance reDistance) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected Objectclone()Makes a copy of this instance.voidcopyFrom(RadiiOfCurvature input) Copies data of provided instance into this instance.voidcopyTo(RadiiOfCurvature output) Copies this instance data into provided instance.booleanequals(RadiiOfCurvature other) Checks if provided instance has exactly the same contents as this instance.booleanequals(RadiiOfCurvature other, double threshold) Checks if provided instance has contents similar to this instance up to provided threshold value.booleanChecks if provided object is a RadiiOfCurvature instance having exactly the same contents as this instance.doublegetRe()Gets transverse radius of curvature expressed in meters (m).com.irurueta.units.DistanceGets transverse radius of curvature.voidgetReDistance(com.irurueta.units.Distance result) Gets transverse radius or curvature.doublegetRn()Gets meridian radius of curvature expressed in meters (m).com.irurueta.units.DistanceGets meridian radius of curvature.voidgetRnDistance(com.irurueta.units.Distance result) Gets meridian radius of curvature.inthashCode()Computes and returns hash code for this instance.voidsetRe(double re) Sets transverse radius of curvature expressed in meters (m).voidsetReDistance(com.irurueta.units.Distance reDistance) Sets transverse radius of curvature.voidsetRn(double rn) Sets meridian radius of curvature expressed in meters (m).voidsetRnDistance(com.irurueta.units.Distance rnDistance) Sets meridian radius of curvature.voidsetValues(double rn, double re) Sets radii of curvature.voidsetValues(com.irurueta.units.Distance rnDistance, com.irurueta.units.Distance reDistance) Sets radii of curvature.
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerialization version. This is used to ensure compatibility of deserialization of permanently stored serialized instances.- See Also:
-
rn
private double rnMeridian radius of curvature expressed in meters (m). This is the radius of curvature for north-south motion. It is the radius of curvature of a meridian, a cross-section of the ellipsoid surface in the north-down plane, at the point of interest (a given latitude). This is the same as the radius of the best-fitting circle to the meridian ellipse at the point of interest. The meridian radius of curvature varies with latitude and is smallest at the equator, where the geocentric radius is largest, and largest at the poles. -
re
private double reTransverse radius of curvature expressed in meters (m). This is the radius of curvature for east-west motion. This is also known as the normal radius of curvature or prime vertical radius of curvature. It is the radius of curvature of a cross-section of the ellipsoid surface in the east-down plane at the point of interest. This is the vertical plane perpendicular to the meridian plane and is not the plane of constant latitude. The transverse radius of curvature varies with latitude and is smallest at the equator. It is also equal to the length of the normal from a point on the surface to the polar axis.
-
-
Constructor Details
-
RadiiOfCurvature
public RadiiOfCurvature()Constructor. -
RadiiOfCurvature
public RadiiOfCurvature(double rn, double re) Constructor.- Parameters:
rn- meridian radius of curvature expressed in meters (m).re- transverse radius of curvature expressed in meters (m).
-
RadiiOfCurvature
public RadiiOfCurvature(com.irurueta.units.Distance rnDistance, com.irurueta.units.Distance reDistance) Constructor.- Parameters:
rnDistance- meridian radius of curvature.reDistance- transverse radius of curvature.
-
-
Method Details
-
getRn
public double getRn()Gets meridian radius of curvature expressed in meters (m). This is the radius of curvature for north-south motion. It is the radius of curvature of a meridian, a cross-section of the ellipsoid surface in the north-down plane, at the point of interest (a given latitude). This is the same as the radius of the best-fitting circle to the meridian ellipse at the point of interest. The meridian radius of curvature varies with latitude and is smallest at the equator, where the geocentric radius is largest, and largest at the poles.- Returns:
- meridian radius of curvature expressed in meters (m).
-
setRn
public void setRn(double rn) Sets meridian radius of curvature expressed in meters (m). This is the radius of curvature for north-south motion. It is the radius of curvature of a meridian, a cross-section of the ellipsoid surface in the north-down plane, at the point of interest (a given latitude). This is the same as the radius of the best-fitting circle to the meridian ellipse at the point of interest. The meridian radius of curvature varies with latitude and is smallest at the equator, where the geocentric radius is largest, and largest at the poles.- Parameters:
rn- meridian radius of curvature expressed in meters (m).
-
getRe
public double getRe()Gets transverse radius of curvature expressed in meters (m). This is the radius of curvature for east-wet motion. This is also known as the normal radius of curvature or prime vertical radius of curvature. It is the radius of curvature of a cross-section of the ellipsoid surface in the east-down plane at the point of interest. This is the vertical plane perpendicular to the meridian plane and is not the plane of constant latitude. The transverse radius of curvature varies with latitude and is smallest at the equator. It is also equal to the length of the normal from a point on the surface to the polar axis.- Returns:
- transverse radius of curvature expressed in meters (m).
-
setRe
public void setRe(double re) Sets transverse radius of curvature expressed in meters (m). This is the radius of curvature for east-wet motion. This is also known as the normal radius of curvature or prime vertical radius of curvature. It is the radius of curvature of a cross-section of the ellipsoid surface in the east-down plane at the point of interest. This is the vertical plane perpendicular to the meridian plane and is not the plane of constant latitude. The transverse radius of curvature varies with latitude and is smallest at the equator. It is also equal to the length of the normal from a point on the surface to the polar axis.- Parameters:
re- transverse radius of curvature expressed in meters (m).
-
setValues
public void setValues(double rn, double re) Sets radii of curvature.- Parameters:
rn- meridian radius of curvature expressed in meters (m).re- transverse radius of curvature expressed in meters (m).
-
getRnDistance
public void getRnDistance(com.irurueta.units.Distance result) Gets meridian radius of curvature. This is the radius of curvature for north-south motion. It is the radius of curvature of a meridian, a cross-section of the ellipsoid surface in the north-down plane, at the point of interest (a given latitude). This is the same as the radius of the best-fitting circle to the meridian ellipse at the point of interest. The meridian radius of curvature varies with latitude and is smallest at the equator, where the geocentric radius is largest, and largest at the poles.- Parameters:
result- instance where meridian radius of curvature will be stored.
-
getRnDistance
public com.irurueta.units.Distance getRnDistance()Gets meridian radius of curvature. This is the radius of curvature for north-south motion. It is the radius of curvature of a meridian, a cross-section of the ellipsoid surface in the north-down plane, at the point of interest (a given latitude). This is the same as the radius of the best-fitting circle to the meridian ellipse at the point of interest. The meridian radius of curvature varies with latitude and is smallest at the equator, where the geocentric radius is largest, and largest at the poles.- Returns:
- meridian radius of curvature.
-
setRnDistance
public void setRnDistance(com.irurueta.units.Distance rnDistance) Sets meridian radius of curvature. This is the radius of curvature for north-south motion. It is the radius of curvature of a meridian, a cross-section of the ellipsoid surface in the north-down plane, at the point of interest (a given latitude). This is the same as the radius of the best-fitting circle to the meridian ellipse at the point of interest. The meridian radius of curvature varies with latitude and is smallest at the equator, where the geocentric radius is largest, and largest at the poles.- Parameters:
rnDistance- meridian radius of curvature to be set.
-
getReDistance
public void getReDistance(com.irurueta.units.Distance result) Gets transverse radius or curvature. This is the radius of curvature for east-wet motion. This is also known as the normal radius of curvature or prime vertical radius of curvature. It is the radius of curvature of a cross-section of the ellipsoid surface in the east-down plane at the point of interest. This is the vertical plane perpendicular to the meridian plane and is not the plane of constant latitude. The transverse radius of curvature varies with latitude and is smallest at the equator. It is also equal to the length of the normal from a point on the surface to the polar axis.- Parameters:
result- instance where transverse radius of curvature will be stored.
-
getReDistance
public com.irurueta.units.Distance getReDistance()Gets transverse radius of curvature. This is the radius of curvature for east-wet motion. This is also known as the normal radius of curvature or prime vertical radius of curvature. It is the radius of curvature of a cross-section of the ellipsoid surface in the east-down plane at the point of interest. This is the vertical plane perpendicular to the meridian plane and is not the plane of constant latitude. The transverse radius of curvature varies with latitude and is smallest at the equator. It is also equal to the length of the normal from a point on the surface to the polar axis.- Returns:
- transverse radius of curvature.
-
setReDistance
public void setReDistance(com.irurueta.units.Distance reDistance) Sets transverse radius of curvature. This is the radius of curvature for east-wet motion. This is also known as the normal radius of curvature or prime vertical radius of curvature. It is the radius of curvature of a cross-section of the ellipsoid surface in the east-down plane at the point of interest. This is the vertical plane perpendicular to the meridian plane and is not the plane of constant latitude. The transverse radius of curvature varies with latitude and is smallest at the equator. It is also equal to the length of the normal from a point on the surface to the polar axis.- Parameters:
reDistance- transverse radius of curvature to be set.
-
setValues
public void setValues(com.irurueta.units.Distance rnDistance, com.irurueta.units.Distance reDistance) Sets radii of curvature.- Parameters:
rnDistance- meridian radius of curvature.reDistance- transverse radius of curvature.
-
hashCode
public int hashCode()Computes and returns hash code for this instance. Hash codes are almost unique values that are useful for fast classification and storage of objects in collections. -
equals
Checks if provided object is a RadiiOfCurvature instance having exactly the same contents as this instance. -
clone
Makes a copy of this instance.- Overrides:
clonein classObject- Returns:
- a copy of this instance.
- Throws:
CloneNotSupportedException- if clone fails for some reason.
-