Class S100FeatureGeometry
The encoding- and renderer-neutral geometry of a single vector feature, in WGS-84 lat/lon — the reusable complement to FeatureInfo (attributes) resolved for the same feature. Returned by GetFeatureGeometryAt(int) so a host can highlight or outline a picked feature without reaching into a product's feature model.
public sealed record S100FeatureGeometry : IEquatable<S100FeatureGeometry>
- Inheritance
-
S100FeatureGeometry
- Implements
- Inherited Members
Remarks
Mirrors the primitive shape exposed by IS100Feature: a feature carries only the coordinate lists matching its Primitive (an area fills the rings, a curve fills Curves, a point fills Points), though a producer may populate more than one. Coordinate lists are shared, not copied; treat them as read-only.
Properties
Curves
Curve coordinate sequences (empty unless the feature has curves).
public IReadOnlyList<IReadOnlyList<GeoPosition>> Curves { get; init; }
Property Value
ExteriorRing
Surface exterior-ring coordinates (empty unless the feature is an area).
public IReadOnlyList<GeoPosition> ExteriorRing { get; init; }
Property Value
HasGeometry
true when at least one drawable coordinate is present across any primitive.
public bool HasGeometry { get; }
Property Value
InteriorRings
Surface interior-ring (hole) coordinate sequences.
public IReadOnlyList<IReadOnlyList<GeoPosition>> InteriorRings { get; init; }
Property Value
Points
Point coordinates (empty unless the feature has point geometry).
public IReadOnlyList<GeoPosition> Points { get; init; }
Property Value
Primitive
The feature's declared geometry primitive.
public required S100GeometryType Primitive { get; init; }