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
| Name | Type | Default | Meaning |
|---|---|---|---|
Footprint | const FFeature | — | The feature's footprint, from the snapshot. |
Grid | const FTerrain | — | The terrain's grid; places the footprint's millimetres in world metres. |
X | double | — | Point, world metres. |
Y | double | — | Point, world metres. |
Margin_m | double | — | 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.