Table of Contents

Class GeoJson3DGeographicCoordinates

Namespace
MongoDB.Driver.GeoJsonObjectModel
Assembly
MongoDB.Driver.dll

Represents a GeoJson 3D geographic position (longitude, latitude, altitude).

[BsonSerializer(typeof(GeoJson3DGeographicCoordinatesSerializer))]
public class GeoJson3DGeographicCoordinates : GeoJsonCoordinates, IEquatable<GeoJsonCoordinates>
Inheritance
GeoJson3DGeographicCoordinates
Implements
Inherited Members

Constructors

GeoJson3DGeographicCoordinates(double, double, double)

Initializes a new instance of the GeoJson3DGeographicCoordinates class.

public GeoJson3DGeographicCoordinates(double longitude, double latitude, double altitude)

Parameters

longitude double

The longitude.

latitude double

The latitude.

altitude double

The altitude.

Properties

Altitude

Gets the altitude.

public double Altitude { get; }

Property Value

double

Latitude

Gets the latitude.

public double Latitude { get; }

Property Value

double

Longitude

Gets the longitude.

public double Longitude { get; }

Property Value

double

Values

Gets the coordinate values.

public override ReadOnlyCollection<double> Values { get; }

Property Value

ReadOnlyCollection<double>