TARGET_FIT_EPSILON_M

Constant TARGET_FIT_EPSILON_M 

Source
pub const TARGET_FIT_EPSILON_M: f64 = 1.0e-9;
Expand description

Slack (meters) allowed when deciding whether a miss is inside a target.

Boundary contact COUNTS AS A FIT — a hold that puts the worst-case impact exactly on the edge of the target is, by the geometry, still on the target. This epsilon exists only so that a case constructed to sit exactly on the boundary is not thrown off it by the last bit of a floating-point division; it is a nanometer, far below any physical meaning.