GeoPoint Class
A point, such as a city.
public sealed class GeoPoint : GeoGeometry- Inheritance
GeoGeometryGeoPoint
Constructors
| Name | Description |
|---|---|
| GeoPoint(GeoPosition) | Initializes a new instance of the GeoPoint class. |
GeoPoint(GeoPosition)
GeoPoint.csInitializes a new instance of the GeoPoint class.
public GeoPoint(GeoPosition position)Parameters
positionGeoPosition- The position.
Properties
| Name | Description |
|---|---|
| Position | Gets the position. |
| Type | Gets the type of the geometry. |
Position
GeoPoint.csType
GeoPoint.csMethods
| Name | Description |
|---|---|
| GetPositions() | Gets the positions of the geometry: every position of every point, line and ring, in order. |
GetPositions()
GeoPoint.csGets the positions of the geometry: every position of every point, line and ring, in order.
public override IEnumerable<GeoPosition> GetPositions()Returns
IEnumerable<GeoPosition> The positions.