1pub use cli_api::{
19 calculate_zero_angle, calculate_zero_angle_with_conditions, estimate_bc_fit,
20 estimate_bc_from_trajectory, interpolate_powder_temp_curve,
21 resolve_powder_adjusted_velocity, run_monte_carlo, run_monte_carlo_with_direction_std_dev,
22 run_monte_carlo_with_wind, run_monte_carlo_with_wind_and_direction_std_dev,
23 run_monte_carlo_with_wind_and_direction_std_dev_seeded, AtmosphericConditions,
24 BallisticInputs, BallisticsError, BcEstimate, BcFitMode, MonteCarloParams,
25 MonteCarloResults, TrajectoryPoint, TrajectoryResult, TrajectorySolver, WindConditions,
26 DEFAULT_HIT_RADIUS_M, MAX_TRAJECTORY_POINTS, TARGET_NOT_REACHED_SENTINEL_M,
27};
28pub use atmosphere::{AtmoSegment, AtmoSock};
29pub use drag_model::DragModel;
30pub use moving_target::{
31 calculate_lead, lead_from_tof, mover_ring, LeadComponents, LeadError, LeadSolution,
32};
33pub use solve_json::{
34 decode_solve_request_v1, ResolvedSolveRequestV1, SolveErrorCodeV1, SolveErrorEnvelopeV1,
35 SolveRequestV1, SolveSuccessV1, MAX_SOLVE_JSON_SAMPLES_V1, SOLVE_JSON_SCHEMA_VERSION_V1,
36};
37pub use solve_v1::solve_v1;
38pub use trajectory_observation::{
39 TrajectoryObservation, TrajectoryObservationError, TrajectoryObservationFlag,
40 TrajectoryTermination,
41};
42pub use trajectory_sampling::MAX_TRAJECTORY_SAMPLES;
43
44pub mod cli_api;
46pub mod moving_target;
47mod drag_model;
48#[cfg(feature = "ffi")]
51pub mod ffi;
52pub mod solve_json;
53pub mod solve_v1;
54pub mod terminal_plot;
55pub mod truing;
57pub mod truing_plan;
59pub mod truing_uncertainty;
61pub mod wez;
63pub mod trajectory_observation;
64#[cfg(target_arch = "wasm32")]
65pub mod wasm;
66#[cfg(test)]
67mod wasm_tests;
68pub mod atmosphere;
70pub mod constants;
71pub mod drag;
72mod drag_tables;
73pub mod wind;
74pub mod wind_shear;
76pub mod derivatives;
78pub mod trajectory_sampling;
79pub mod fast_trajectory;
81pub mod trajectory_integration;
83pub mod pitch_damping;
85pub mod spin_decay;
86pub mod spin_drift;
87pub mod spin_drift_advanced;
88pub mod precession_nutation;
90pub mod aerodynamic_jump;
92pub mod angle_calculations;
94pub mod transonic_drag;
95pub mod reynolds;
97pub mod form_factor;
99pub mod bc_estimation;
101pub mod cluster_bc;
102pub mod monte_carlo;
103pub mod stability;
104pub mod stability_advanced;
105
106#[cfg(feature = "online")]
108pub mod api_client;
109
110#[cfg(feature = "online")]
112pub mod bc_table_download;
113
114pub mod bc_table;
116
117pub mod bc_table_5d;
119
120#[cfg(feature = "profile-import")]
122pub mod profile_import;
123
124pub(crate) type InternalBallisticInputs = BallisticInputs;
126
127#[derive(Debug, Clone)]
129pub struct BCSegmentData {
130 pub velocity_min: f64,
131 pub velocity_max: f64,
132 pub bc_value: f64,
133}