Click or drag to resize

Earth Class

Serves as the base for CRS that are global such that they cover the earth.
Inheritance Hierarchy

Namespace: GSF.Geo
Assembly: GSF.Geo (in GSF.Geo.dll) Version: 2.4.218.0 (2.4.218.0)
Syntax
public abstract class Earth : CoordinateReferenceSystem
View Source

The Earth type exposes the following members.

Constructors
 NameDescription
Protected methodEarthInitializes a new instance of the Earth class
Top
Properties
 NameDescription
Public propertyProjection Gets the projection used by the CRS.
(Inherited from CoordinateReferenceSystem)
Public propertyTransformation Gets the transformation used by the CRS.
(Inherited from CoordinateReferenceSystem)
Top
Methods
 NameDescription
Public methodDistance Returns the distance, in meters, between two geographical coordinates.
(Overrides CoordinateReferenceSystemDistance(GeoCoordinate, GeoCoordinate))
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodScale Returns the scale used when transforming projected coordinates into pixel coordinates for a particular zoom. For example, it returns 256 * 2^zoom for Mercator-based CRS.
(Inherited from CoordinateReferenceSystem)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodTranslate(GeoCoordinate, Double) Translates the given geographical coordinate to a cartesian point at the given zoom level.
(Inherited from CoordinateReferenceSystem)
Public methodTranslate(Point, Double) Translates the given cartesian point to a geographical coordinate at the given zoom level.
(Inherited from CoordinateReferenceSystem)
Public methodZoom Returns the zoom level corresponding to the given scale factor.
(Inherited from CoordinateReferenceSystem)
Top
Extension Methods
 NameDescription
Public Extension MethodGetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodGetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
See Also