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
Properties
Values
Gets the coordinate values.
public override ReadOnlyCollection<double> Values { get; }
Property Value
X
Gets the X coordinate.
public double X { get; }
Property Value
Y
Gets the Y coordinate.
public double Y { get; }
Property Value
Z
Gets the Z coordinate.
public double Z { get; }