Table of Contents

Class GeoJson3DCoordinates

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

Represents a GeoJson 3D position (x, y, z).

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

Constructors

GeoJson3DCoordinates(double, double, double)

Initializes a new instance of the GeoJson3DCoordinates class.

public GeoJson3DCoordinates(double x, double y, double z)

Parameters

x double

The x coordinate.

y double

The y coordinate.

z double

The z coordinate.

Properties

Values

Gets the coordinate values.

public override ReadOnlyCollection<double> Values { get; }

Property Value

ReadOnlyCollection<double>

X

Gets the X coordinate.

public double X { get; }

Property Value

double

Y

Gets the Y coordinate.

public double Y { get; }

Property Value

double

Z

Gets the Z coordinate.

public double Z { get; }

Property Value

double