Structs§
- Atmospheric
Conditions - Ballistic
Inputs - Ballistics
Error - Monte
Carlo Params - Monte
Carlo Results - Trajectory
Point - Trajectory
Result - Trajectory
Solver - Wind
Conditions
Enums§
Constants§
- DEFAULT_
HIT_ RADIUS_ M - Default hit-zone radius (meters) around the point of aim at the target plane — a 30 cm circle. Shared by the CLI, FFI, and WASM so “hit probability” means the same thing everywhere.
Functions§
- calculate_
zero_ angle - calculate_
zero_ angle_ with_ conditions - estimate_
bc_ from_ trajectory - interpolate_
powder_ temp_ curve - Interpolate a muzzle velocity (m/s) from a measured powder-temperature curve at
temp_c(Celsius).curveis(temperature_celsius, velocity_m_s)points; it is sorted ascending by temperature before use. Values below the first point or above the last are CLAMPED to the endpoint velocity (no extrapolation beyond measured data), and segments are linearly interpolated. A single point yields a constant. - run_
monte_ carlo - run_
monte_ carlo_ with_ wind