Method Point
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
MongoDB.Driver.GeoJsonObjectModel
Assembly
MongoDB.Driver.dll
Point(GeoJsonObjectArgs, TCoordinates)
Creates a GeoJson Point object.
public static GeoJsonPoint<TCoordinates> Point<TCoordinates>(GeoJsonObjectArgs<TCoordinates> args, TCoordinates coordinates) where TCoordinates : GeoJsonCoordinates
Parameters
args
GeoJsonObjectArgs
The additional args.
coordinates
TCoordinates
The coordinates.
Returns
A GeoJson Point object.
Type Parameters
TCoordinates
The type of the coordinates.
Point(TCoordinates)
Creates a GeoJson Point object.
public static GeoJsonPoint<TCoordinates> Point<TCoordinates>(TCoordinates coordinates) where TCoordinates : GeoJsonCoordinates
Parameters
coordinates
TCoordinates
The coordinates.
Returns
A GeoJson Point object.
Type Parameters
TCoordinates
The type of the coordinates.