Table of Contents

Class FeatureGeometryQuery

Namespace
EncDotNet.S100.Datasets.Pipelines.Spec
Assembly
EncDotNet.S100.Datasets.Pipelines.dll

Geometry helpers for IS100Feature instances.

public static class FeatureGeometryQuery
Inheritance
FeatureGeometryQuery
Inherited Members

Remarks

All operations work in planar lat/lon space and match the precision of the per-dataset bounding box. Surface geometry takes precedence over curve, which takes precedence over point — matching the preference order in FeatureGeometryProvider<TFeature>.

Methods

Intersects(IS100Feature, GeoQuery)

Returns true when feature's bounding box intersects (or touches) the supplied query's coarse bounding box. Features without geometry never match.

public static bool Intersects(IS100Feature feature, GeoQuery query)

Parameters

feature IS100Feature
query GeoQuery

Returns

bool

TryGetBoundingBox(IS100Feature)

Computes the bounding box of feature's geometry. Returns null when the feature has no geometry at all (e.g. container-style features such as S131:Authority).

public static BoundingBox? TryGetBoundingBox(IS100Feature feature)

Parameters

feature IS100Feature

Returns

BoundingBox