Represents the prime meridian of a georeference.
sealed class
|
PrimeMeridian
|
extends
|
GeoObject
|
The prime meridian is not added automatically to Longitude parameter values when creating a coordinate transformation (see CreateCoordinateTransform).
See also:
GeoRegistryThe configurator object for this type.
public
static
property
|
Config
{
get
}
|
||
type
|
IConfigurator<PrimeMeridian>
|
||
value
|
|
The configurator object. |
Returns the configuration value that describes this object.
public
override
method
|
ToConfig
()
|
||
type
|
ConfigValue
|
||
returns
|
|
The configuration value. | |
overrides
|
GeoObject.ToConfig
|
Remarks:
All configurable objects need to implement this interface. For simple types, it is preferable to delegate to ToValue.
The returned value may be of type Invalid, which means that this object in its current state cannot be described with the configuration API.
Before returning the resulting configuration value, Cache must be called on it, passing this IConfigurable object as parameter.
Serialization information about this type.
public
static
readonly
field
|
SerialId
|
||
type
|
ISerialTypeInfo
|
Athens
public
static
readonly
field
|
Athens
|
||
type
|
PrimeMeridian
|
Remarks:
Longitude:
23.4258815
(Degree)
Bern
public
static
readonly
field
|
Bern
|
||
type
|
PrimeMeridian
|
Remarks:
Longitude:
7.26225
(Degree)
Bogota
public
static
readonly
field
|
Bogota
|
||
type
|
PrimeMeridian
|
Remarks:
Longitude:
-74.04513
(Degree)
Brussels
public
static
readonly
field
|
Brussels
|
||
type
|
PrimeMeridian
|
Remarks:
Longitude:
4.220471
(Degree)
Ferro
public
static
readonly
field
|
Ferro
|
||
type
|
PrimeMeridian
|
Remarks:
Longitude:
-17.4
(Degree)
Greenwich
public
static
readonly
field
|
Greenwich
|
||
type
|
PrimeMeridian
|
Remarks:
Longitude:
0
(Degree)
Jakarta
public
static
readonly
field
|
Jakarta
|
||
type
|
PrimeMeridian
|
Remarks:
Longitude:
106.482779
(Degree)
Lisbon
public
static
readonly
field
|
Lisbon
|
||
type
|
PrimeMeridian
|
Remarks:
Longitude:
-9.0754862
(Degree)
Madrid
public
static
readonly
field
|
Madrid
|
||
type
|
PrimeMeridian
|
Remarks:
Longitude:
-3.411658
(Degree)
Oslo
public
static
readonly
field
|
Oslo
|
||
type
|
PrimeMeridian
|
Remarks:
Longitude:
10.43225
(Degree)
Paris
public
static
readonly
field
|
Paris
|
||
type
|
PrimeMeridian
|
Remarks:
Longitude:
2.5969213
(Grad)
Paris RGS
public
static
readonly
field
|
Paris_RGS
|
||
type
|
PrimeMeridian
|
Remarks:
Longitude:
2.201395
(Degree)
Rome
public
static
readonly
field
|
Rome
|
||
type
|
PrimeMeridian
|
Remarks:
Longitude:
12.27084
(Degree)
Stockholm
public
static
readonly
field
|
Stockholm
|
||
type
|
PrimeMeridian
|
Remarks:
Longitude:
18.03298
(Degree)
The longitude angle of this prime meridian.
public
property
|
Longitude
{
get
}
|
||
type
|
float64
|
||
value
|
The longitude angle. |
The human-readable name of this object.
public
property
|
Name
{
get
}
|
||
type
|
string
|
||
value
|
|
The object name. | |
inherited
|
GeoObject.Name
|
Returns the serial type of this object.
public
property
|
SerialType
{
get
}
|
||
type
|
ISerialTypeInfo
|
||
value
|
|
The serial type. | |
inherited
|
SerializableBase.SerialType
|
Returns the serial data version.
public
virtual
property
|
SerialVersion
{
get
}
|
||
type
|
int32
|
||
value
|
|
The serial data version tag. | |
inherited
|
SerializableBase.SerialVersion
|
Remarks:
An ISerializable implementation is required to support all versions up to the one returned by SerialVersion.
See also:
ISerializable.SerializeThe type of this geo object.
public
property
|
Type
{
get
}
|
||
type
|
GeoObjectType
|
||
value
|
The geo object type. | ||
inherited
|
GeoObject.Type
|
The unit of measure of this prime meridian.
public
property
|
Unit
{
get
}
|
||
type
|
UnitOfMeasure
|
||
value
|
|
The UnitOfMeasure object. |
Creates a new instance of PrimeMeridian.
public
constructor
|
PrimeMeridian
(float64 longitude,
UnitOfMeasure unit = null,
string name = null)
|
||
params
|
longitude
|
The longitude angle of the prime meridian. | |
unit
|
The
unit
of
measure
to
use.
If
null ,
Degree
will
be
used.
Defaults
to
null .
|
||
name
|
Human-readable
name
of
the
geo
object.
If
empty
or
null,
UserDefined
will
be
used
instead.
Defaults
to
null .
|
Initializes the state of this object from the given data stream.
public
override
method
|
Deserialize
(int32 serialVersion,
ISerializer data)
|
||
type
|
ISerializable
|
||
params
|
serialVersion
|
[>=1]
|
The serial data version. |
data
|
[not-null]
|
The serial data stream. | |
returns
|
|
The
deserialized
object.
This
will
typically
be
this ,
but
in
some
circumstances,
another
instance
may
be
returned
(e.g.
singletons).
|
|
overrides
|
GeoObject.Deserialize
|
Remarks:
The Deserialize method will be called immediately after the object has been instantiated via its default constructor.
The provided serialVersion number is guaranteed to be equal to or less than the SerialVersion returned by this object (i.e. ISerializable object must provide backwards compatibility).
See also:
ISerializable.SerializeCompares this object with the given one.
[Pure]
|
||||
public
override
method
|
Equals
(IGeoObject other)
|
|||
type
|
bool
|
|||
params
|
other
|
The object to compare to. | ||
returns
|
true
if
this
object
is
equal
to
other,
false
if
not.
|
|||
overrides
|
GeoObject.Equals
|
Compares this object with the given one.
[Pure]
|
||||
public
override
sealed
method
|
Equals
(object other)
|
|||
type
|
bool
|
|||
params
|
other
|
The object to compare to. | ||
returns
|
true
if
this
object
is
equal
to
other,
false
if
not.
|
|||
inherited
|
GeoObject.Equals
|
[Pure]
|
||||
public
override
sealed
method
|
GetHashCode
()
|
|||
type
|
int32
|
|||
inherited
|
GeoObject.GetHashCode
|
Serializes the current state of this object to the given data stream.
public
override
method
|
Serialize
(ISerializer data)
|
||
params
|
data
|
[not-null]
|
The serial data stream. |
overrides
|
GeoObject.Serialize
|
See also:
ISerializable.Deserialize
[Pure]
|
||||
public
override
sealed
method
|
ToString
()
|
|||
type
|
string
|
|||
inherited
|
GeoObject.ToString
|