Table of Contents

Class FeatureGeometry

Namespace
EncDotNet.S100.Pipelines.Vector
Assembly
EncDotNet.S100.Core.dll

Lightweight, encoding-agnostic representation of a feature's geometry.

public sealed class FeatureGeometry
Inheritance
FeatureGeometry
Inherited Members

Properties

Coordinates

Primary coordinate sequence in (latitude, longitude) order. Points: a single coordinate. Curves: an ordered polyline. Surfaces: the exterior ring (CCW recommended). For a curve or surface with several Parts, all of them joined in order, so a consumer that ignores Parts would join them.

public required IReadOnlyList<GeoPosition> Coordinates { get; init; }

Property Value

IReadOnlyList<GeoPosition>

InteriorRings

Optional interior (hole) rings for surface geometries. Empty for non-surface geometries.

public IReadOnlyList<IReadOnlyList<GeoPosition>> InteriorRings { get; init; }

Property Value

IReadOnlyList<IReadOnlyList<GeoPosition>>

PartInteriorRings

For a surface with several Parts, the interior rings of each part, in the same order. Empty otherwise.

public IReadOnlyList<IReadOnlyList<IReadOnlyList<GeoPosition>>> PartInteriorRings { get; init; }

Property Value

IReadOnlyList<IReadOnlyList<IReadOnlyList<GeoPosition>>>

Parts

The separate parts of a curve whose curves do not all meet end to start (see CurveParts), each an ordered polyline; or of a surface with several surfaces, each part's exterior ring, with its holes in PartInteriorRings. Draw each on its own: joining them would draw a straight segment across each gap. Empty when Coordinates is a single curve or surface, and for points.

public IReadOnlyList<IReadOnlyList<GeoPosition>> Parts { get; init; }

Property Value

IReadOnlyList<IReadOnlyList<GeoPosition>>

Type

Geometric primitive type.

public required GeometryType Type { get; init; }

Property Value

GeometryType