Table of Contents

Method Point

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

Point<TCoordinates>(GeoJsonObjectArgs<TCoordinates>, TCoordinates)

Creates a GeoJson Point object.

public static GeoJsonPoint<TCoordinates> Point<TCoordinates>(GeoJsonObjectArgs<TCoordinates> args, TCoordinates coordinates) where TCoordinates : GeoJsonCoordinates

Parameters

args GeoJsonObjectArgs<TCoordinates>

The additional args.

coordinates TCoordinates

The coordinates.

Returns

GeoJsonPoint<TCoordinates>

A GeoJson Point object.

Type Parameters

TCoordinates

The type of the coordinates.

Point<TCoordinates>(TCoordinates)

Creates a GeoJson Point object.

public static GeoJsonPoint<TCoordinates> Point<TCoordinates>(TCoordinates coordinates) where TCoordinates : GeoJsonCoordinates

Parameters

coordinates TCoordinates

The coordinates.

Returns

GeoJsonPoint<TCoordinates>

A GeoJson Point object.

Type Parameters

TCoordinates

The type of the coordinates.