Expand description
§Ballistics Crate
This crate provides constants and equations for solving ballistics problems. It includes definitions for various physical constants and properties related to ballistics, such as gravitational constant, speed of sound, gyroscopic stability, kinetic energy, and ballistic coefficient.
Structs§
- Aerodynamic
Jump - Aerodynamic jump of a projectile
- Aerodynamic
Jump Calculate Builder - Use builder syntax to set the required parameters and finish by calling the method
Self::solve(). - AirDensity
- Air density at sea level (lb/ft³)
- Aperture
Sight Calibration - Aperture sight calibration value
- Aperture
Sight Calibration Calculate Builder - Use builder syntax to set the required parameters and finish by calling the method
Self::solve(). - Ballistic
Coefficient - Ballistic Coefficient (dimensionless)
- Ballistic
Coefficient Calculate Builder - Use builder syntax to set the required parameters and finish by calling the method
Self::solve(). - Bullet
Diameter - Bullet Diameter (in)
- Bullet
Length - Bullet Length (calibers)
- Bullet
Weight - Bullet weight (grains)
- Distance
- Distance (ft)
- Drag
Coefficient - Drag Coefficient
- Form
Factor - Form factor of a projectile
- Form
Factor Calculate Builder - Use builder syntax to set the required parameters and finish by calling the method
Self::solve(). - Gravity
- Gravitational constant (ft/s²)
- Gyroscopic
Stability - Miller’s Stability Formula (dimensionless)
- Gyroscopic
Stability Atmospheric Correction Builder - Use builder syntax to set the required parameters and finish by calling the method
Self::solve(). - Gyroscopic
Stability Calculate Builder - Use builder syntax to set the required parameters and finish by calling the method
Self::solve(). - Gyroscopic
Stability Velocity Correction Builder - Use builder syntax to set the required parameters and finish by calling the method
Self::solve(). - Kinetic
Energy - Kinetic Energy (ft-lb)
- Kinetic
Energy Calculate Builder - Use builder syntax to set the required parameters and finish by calling the method
Self::solve(). - LagTime
- Lag time of a bullet in seconds (s)
- LagTime
Calculate Builder - Use builder syntax to set the required parameters and finish by calling the method
Self::solve(). - Pressure
- Pressure (inHg)
- Rifling
Twist - Rifling Twist (calibers per turn)
- Sight
Calibration - Sight Calibration (in)
- Speed
OfSound - Speed of sound given temperature (ft/s)
- Speed
OfSound Calculate Builder - Use builder syntax to set the required parameters and finish by calling the method
Self::solve(). - Spin
Drift - Spin Drift (in)
- Spin
Drift Calculate Builder - Use builder syntax to set the required parameters and finish by calling the method
Self::solve(). - Temperature
- Temperature (F)
- Time
OfFlight - Time of Flight (s)
- Velocity
- Velocity (ft/s)
- Velocity
Projection - Get the velocity (ft/s) of a second bullet using the weight and velocity of another bullet.
- Velocity
Projection Calculate Builder - Use builder syntax to set the required parameters and finish by calling the method
Self::solve(). - Wind
Deflection - Wind deflection of a bullet in inches (in)
- Wind
Deflection Calculate Builder - Use builder syntax to set the required parameters and finish by calling the method
Self::solve(). - Wind
Speed - Wind Speed (mph)
Constants§
- AIR_
DENSITY_ SEA_ LEVEL - Air density at sea level (lb/ft³)
- SPEED_
OF_ SOUND_ SEA_ LEVEL - Speed of sound at sea level (ft/s)
- STANDARD_
GRAVITY - Standard gravitational constant (ft/s²)
- STANDARD_
PRESSURE - ICAO definition of standard pressure (inHg)
- STANDARD_
TEMPERATURE - ICAO definition of standard temperature (F)
Type Aliases§
- __
Aerodynamic Jump Calculate Builder Initial State - __
Aperture Sight Calibration Calculate Builder Initial State - __
Ballistic Coefficient Calculate Builder Initial State - __
Form Factor Calculate Builder Initial State - __
Gyroscopic Stability Atmospheric Correction Builder Initial State - __
Gyroscopic Stability Calculate Builder Initial State - __
Gyroscopic Stability Velocity Correction Builder Initial State - __
Kinetic Energy Calculate Builder Initial State - __
LagTime Calculate Builder Initial State - __
Speed OfSound Calculate Builder Initial State - __
Spin Drift Calculate Builder Initial State - __
Velocity Projection Calculate Builder Initial State - __
Wind Deflection Calculate Builder Initial State