Skip to main content

IGeometryObject

Namespace: Meshmakers.Octo.Runtime.Contracts.Geospatial.Geometry

Base Interface for GeometryObject types.

public interface IGeometryObject

Properties

Type

Gets the (mandatory) type of the GeoJSON Object. However, for GeoJSON Objects only the 'Point', 'MultiPoint', 'LineString', 'MultiLineString', 'Polygon', 'MultiPolygon', or 'GeometryCollection' types are allowed.

public abstract GeoJSONObjectType Type { get; }

Property Value

GeoJSONObjectType
The type of the object.

Remarks:

See https://tools.ietf.org/html/rfc7946#section-3.1