Skip to content
Brass Orrery

Orrery Terrain · OrreryTerrainCore module · function

Native::

PointInFeatureFootprint

Whether a point stands in a feature's footprint (plus a margin): a plate's polygon, or a corridor's or channel's formation band (the wider half width at each station, interpolated along the segment).

Declaration

bool PointInFeatureFootprint(const FFeatureFootprint& Footprint, const FTerrainGrid& Grid, double X, double Y, double Margin_m);
Header
#include "Native/GroundFollow.h"
Module
PublicDependencyModuleNames.Add("OrreryTerrainCore"); in your module’s Build.cs.
Stability
Stable: changes within a major version only add.
Thread
Pure, any thread.

Description

A corridor's keep-out spans (viaducts, bores) leave the ground alone and so are not footprints.

Parameters

NameTypeDefaultMeaning
Footprintconst FFeatureFootprint&—

The feature's footprint, from the snapshot.

Gridconst FTerrainGrid&—

The terrain's grid; places the footprint's millimetres in world metres.

Xdouble—

Point, world metres.

Ydouble—

Point, world metres.

Margin_mdouble—

Added to the band's half width and to a polygon's outline.

Note.

Pure, any thread. For one point; the batch functions below index the segments first.