Class GeodeticReferenceFrame
Object
GeodeticReferenceFrame
Represents a Geodetic Reference Frame in PROJJSON.
A geodetic reference frame is a type of datum that describes the relationship between a coordinate system and the Earth. It includes an ellipsoid model and optionally a prime meridian.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new GeodeticReferenceFrame with default values. -
Method Summary
Modifier and TypeMethodDescriptionGets the ellipsoid that defines the shape of the Earth in this reference frame.getId()Gets the ID of the geodetic reference frame.getName()Gets the name of the geodetic reference frame.Gets the prime meridian used in this reference frame.getType()Gets the type of datum.voidsetEllipsoid(Ellipsoid ellipsoid) Sets the ellipsoid that defines the shape of the Earth in this reference frame.voidSets the ID of the geodetic reference frame.voidSets the name of the geodetic reference frame.voidsetPrimeMeridian(PrimeMeridian primeMeridian) Sets the prime meridian used in this reference frame.voidSets the type of datum.
-
Constructor Details
-
GeodeticReferenceFrame
public GeodeticReferenceFrame()Creates a new GeodeticReferenceFrame with default values.
-
-
Method Details
-
getType
Gets the type of datum.- Returns:
- Always "GeodeticReferenceFrame" for this implementation
-
setType
Sets the type of datum.- Parameters:
type- The datum type
-
getName
Gets the name of the geodetic reference frame.- Returns:
- The reference frame name
-
setName
Sets the name of the geodetic reference frame.- Parameters:
name- The reference frame name
-
getEllipsoid
Gets the ellipsoid that defines the shape of the Earth in this reference frame.- Returns:
- The ellipsoid
-
setEllipsoid
Sets the ellipsoid that defines the shape of the Earth in this reference frame.- Parameters:
ellipsoid- The ellipsoid
-
getPrimeMeridian
Gets the prime meridian used in this reference frame.- Returns:
- The prime meridian
-
setPrimeMeridian
Sets the prime meridian used in this reference frame.- Parameters:
primeMeridian- The prime meridian
-
getId
Gets the ID of the geodetic reference frame.- Returns:
- The reference frame ID
-
setId
Sets the ID of the geodetic reference frame.- Parameters:
id- The reference frame ID
-