VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Types | Public Attributes
makVrv::DtElevationCondition Struct Reference

A terrain elevation condition compared against the observer's MSL elevation.

The terrain elevation at the observer's position is sampled from the map's ElevationPool. The condition passes when: elevation op thresholdMeters.

Public Types

enum  Op { Op::Less, Op::LessOrEqual, Op::Greater, Op::GreaterOrEqual }
 

Public Attributes

Op op = Op::Less
 
double thresholdMeters = 0.0
 

Member Enumeration Documentation

Comparison direction applied as: sampledElevation <op> thresholdMeters.

Enumerator
Less 
LessOrEqual 
Greater 
GreaterOrEqual 

Member Data Documentation

Op makVrv::DtElevationCondition::op = Op::Less

Operator to apply.

Referenced by makVrv::serialize().

double makVrv::DtElevationCondition::thresholdMeters = 0.0

Threshold in metres above MSL. Use negative values for below sea level. Example: { Op::Less, 0.0 } - true only when the observer is below sea level.

Referenced by makVrv::serialize().


The documentation for this struct was generated from the following file:

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)