Classes | |
| class | Builder |
Builder class for constructing Input objects with a friendly interface. More... | |
| struct | Input |
| Structure of input parameters consumed by the solver. More... | |
| struct | Output |
| Structure holding the output results of the ballistic calculation. More... | |
Functions | |
| LOB_EXPORT const char * | Version () |
| Gets the library version in major.minor.patch format. | |
| template<typename T = double> | |
| constexpr T | NaN () |
| Not-a-Number for floating-point values. | |
| LOB_EXPORT size_t | Solve (const Input &in, const uint32_t *pranges, Output *pouts, size_t size) |
| Solves the exterior ballistics problem for a given set of ranges. | |
| template<size_t N> | |
| size_t | Solve (const Input &in, const std::array< uint32_t, N > &pranges, std::array< Output, N > &pouts) |
| Solves the exterior ballistics problem for a given set of ranges. | |
| LOB_EXPORT double | MoaToMil (double value) |
| Converts minutes of angle (MOA) to milliradians (MIL). | |
| LOB_EXPORT double | MoaToDeg (double value) |
| Converts minutes of angle (MOA) to degrees. | |
| LOB_EXPORT double | MoaToIphy (double value) |
| Converts minutes of angle (MOA) to inches per hundred yards (IPHY). | |
| LOB_EXPORT double | MoaToInch (double value, double range_ft) |
| Converts minutes of angle (MOA) to projected inches at a given range in feet. | |
| LOB_EXPORT double | MilToMoa (double value) |
| Converts milliradians (MIL) to minutes of angle (MOA). | |
| LOB_EXPORT double | MilToDeg (double value) |
| Converts milliradians (MIL) to degrees. | |
| LOB_EXPORT double | MilToIphy (double value) |
| Converts milliradians (MIL) to inches per hundred yards (IPHY). | |
| LOB_EXPORT double | MilToInch (double value, double range_ft) |
| Converts milliradians (MIL) to projected inches at a given range in feet. | |
| LOB_EXPORT double | DegToMoa (double value) |
| Converts degrees to minutes of angle (MOA). | |
| LOB_EXPORT double | DegToMil (double value) |
| Converts degrees to milliradians (MIL). | |
| LOB_EXPORT double | InchToMoa (double value, double range_ft) |
| Inches of projection at a given range to minutes of angle (MOA) | |
| LOB_EXPORT double | InchToMil (double value, double range_ft) |
| Inches of projection at a given range to milliradians (MIL) | |
| LOB_EXPORT double | InchToDeg (double value, double range_ft) |
| Inches of projection at a given range to degrees. | |
| LOB_EXPORT double | JToFtLbs (double value) |
| Converts joules to foot-pounds. | |
| LOB_EXPORT double | FtLbsToJ (double value) |
| Converts foot-pounds to joules. | |
| LOB_EXPORT double | MtoYd (double value) |
| Converts meters to yards. | |
| LOB_EXPORT double | YdToFt (double value) |
| Converts yards to feet. | |
| LOB_EXPORT double | MToFt (double value) |
| Converts meters to feet. | |
| LOB_EXPORT double | FtToIn (double value) |
| Converts feet to inches. | |
| LOB_EXPORT double | MmToIn (double value) |
| Converts millimeters to inches. | |
| LOB_EXPORT double | CmToIn (double value) |
| Converts centimeters to inches. | |
| LOB_EXPORT double | YdToM (double value) |
| Converts yards to meters. | |
| LOB_EXPORT double | FtToM (double value) |
| Converts feet to meters. | |
| LOB_EXPORT double | FtToYd (double value) |
| Converts feet to yards. | |
| LOB_EXPORT double | InToMm (double value) |
| Converts inches to millimeters. | |
| LOB_EXPORT double | InToCm (double value) |
| Converts inches to centimeters. | |
| LOB_EXPORT double | InToFt (double value) |
| Converts inches to feet. | |
| LOB_EXPORT double | PaToInHg (double value) |
| Converts pascals to inches of mercury. | |
| LOB_EXPORT double | MbarToInHg (double value) |
| Converts millibars to inches of mercury. | |
| LOB_EXPORT double | PsiToInHg (double value) |
| Converts pounds per square inch (PSI) to inches of mercury. | |
| LOB_EXPORT double | LbsToGrain (double value) |
| Converts pounds to grains. | |
| LOB_EXPORT double | GToGrain (double value) |
| Converts grams to grains. | |
| LOB_EXPORT double | KgToGrain (double value) |
| Converts kilograms to grains. | |
| LOB_EXPORT double | KgSqMToPmsi (double value) |
| Converts kilograms per square meter to pounds mass per square inch. | |
| LOB_EXPORT double | FpsToMps (double value) |
| Converts feet per second to meters per second. | |
| LOB_EXPORT double | MpsToFps (double value) |
| Converts meters per second to feet per second. | |
| LOB_EXPORT double | KphToMph (double value) |
| Converts kilometers per hour to miles per hour. | |
| LOB_EXPORT double | KnToMph (double value) |
| Converts Knots to miles per hour. | |
| LOB_EXPORT double | MsToS (double value) |
| Converts milliseconds to seconds. | |
| LOB_EXPORT double | UsToS (double value) |
| Converts microseconds to seconds. | |
| LOB_EXPORT double | SToMs (double value) |
| Converts seconds to milliseconds. | |
| LOB_EXPORT double | SToUs (double value) |
| Converts seconds to microseconds. | |
| LOB_EXPORT double | DegCToDegF (double value) |
| Converts degrees celsius to degrees fahrenheit. | |
Variables | |
| enum LOB_EXPORT | DragFunctionT |
| Enumerates the supported drag functions. | |
| enum LOB_EXPORT | kG2 = 2U |
| G1 drag function. | |
| enum LOB_EXPORT | kG5 = 5U |
| G2 drag function. | |
| enum LOB_EXPORT | kG6 = 6U |
| G5 drag function. | |
| enum LOB_EXPORT | kG7 = 7U |
| G6 drag function. | |
| enum LOB_EXPORT | kG8 |
| G7 drag function. | |
| enum LOB_EXPORT | AtmosphereReferenceT |
| Enumerates the supported atmosphere reference types. | |
| enum LOB_EXPORT | kIcao |
| Army Standard Metro. | |
| enum LOB_EXPORT | ClockAngleT |
| Enumerates clock angle positions. | |
| enum LOB_EXPORT | kII |
| one o'clock | |
| enum LOB_EXPORT | kIII |
| two o'clock | |
| enum LOB_EXPORT | kIV |
| three o'clock | |
| enum LOB_EXPORT | kV |
| four o'clock | |
| enum LOB_EXPORT | kVI |
| five o'clock | |
| enum LOB_EXPORT | kVII |
| six o'clock | |
| enum LOB_EXPORT | kVIII |
| seven o'clock | |
| enum LOB_EXPORT | kIX |
| eight o'clock | |
| enum LOB_EXPORT | kX |
| nine o'clock | |
| enum LOB_EXPORT | kXI |
| ten o'clock | |
| enum LOB_EXPORT | kXII |
| eleven o'clock | |
| enum LOB_EXPORT | ErrorT |
| enum LOB_EXPORT | kAirPressure |
| enum LOB_EXPORT | kAltitude |
| enum LOB_EXPORT | kAzimuth |
| enum LOB_EXPORT | kBallisticCoefficient |
| enum LOB_EXPORT | kBaseDiameter |
| enum LOB_EXPORT | kDiameter |
| enum LOB_EXPORT | kHumidity |
| enum LOB_EXPORT | kInitialVelocity |
| enum LOB_EXPORT | kLatitude |
| enum LOB_EXPORT | kLength |
| enum LOB_EXPORT | kMachDragTable |
| enum LOB_EXPORT | kMass |
| enum LOB_EXPORT | kMaximumTime |
| enum LOB_EXPORT | kMeplatDiameter |
| enum LOB_EXPORT | kNoseLength |
| enum LOB_EXPORT | kOgiveRtR |
| enum LOB_EXPORT | kRangeAngle |
| enum LOB_EXPORT | kTailLength |
| enum LOB_EXPORT | kWindHeading |
| enum LOB_EXPORT | kZeroAngle |
| enum LOB_EXPORT | kZeroDistance |
| enum LOB_EXPORT | kNotFormed |
| LOB_EXPORT double lob::CmToIn | ( | double | value | ) |
Converts centimeters to inches.
| value | Length in centimeters. |
| LOB_EXPORT double lob::DegCToDegF | ( | double | value | ) |
Converts degrees celsius to degrees fahrenheit.
| value | Temperature in degrees celsius |
| LOB_EXPORT double lob::DegToMil | ( | double | value | ) |
Converts degrees to milliradians (MIL).
| value | Angle in degrees. |
| LOB_EXPORT double lob::DegToMoa | ( | double | value | ) |
Converts degrees to minutes of angle (MOA).
| value | Angle in degrees. |
| LOB_EXPORT double lob::FpsToMps | ( | double | value | ) |
Converts feet per second to meters per second.
| value | Speed in feet per second. |
| LOB_EXPORT double lob::FtLbsToJ | ( | double | value | ) |
Converts foot-pounds to joules.
| value | Energy in foot-pounds. |
| LOB_EXPORT double lob::FtToIn | ( | double | value | ) |
Converts feet to inches.
| value | Length in feet. |
| LOB_EXPORT double lob::FtToM | ( | double | value | ) |
Converts feet to meters.
| value | Length in feet. |
| LOB_EXPORT double lob::FtToYd | ( | double | value | ) |
Converts feet to yards.
| value | Length in feet. |
| LOB_EXPORT double lob::GToGrain | ( | double | value | ) |
Converts grams to grains.
| value | Mass in grams. |
| LOB_EXPORT double lob::InchToDeg | ( | double | value, |
| double | range_ft ) |
Inches of projection at a given range to degrees.
| value | Projected inches. |
| range_ft | Range in feet. |
| LOB_EXPORT double lob::InchToMil | ( | double | value, |
| double | range_ft ) |
Inches of projection at a given range to milliradians (MIL)
| value | Projected inches. |
| range_ft | Range in feet. |
| LOB_EXPORT double lob::InchToMoa | ( | double | value, |
| double | range_ft ) |
Inches of projection at a given range to minutes of angle (MOA)
| value | Projected inches. |
| range_ft | Range in feet. |
| LOB_EXPORT double lob::InToCm | ( | double | value | ) |
Converts inches to centimeters.
| value | Length in inches. |
| LOB_EXPORT double lob::InToFt | ( | double | value | ) |
Converts inches to feet.
| value | Length in inches. |
| LOB_EXPORT double lob::InToMm | ( | double | value | ) |
Converts inches to millimeters.
| value | Length in inches. |
| LOB_EXPORT double lob::JToFtLbs | ( | double | value | ) |
Converts joules to foot-pounds.
| value | Energy in joules. |
| LOB_EXPORT double lob::KgSqMToPmsi | ( | double | value | ) |
Converts kilograms per square meter to pounds mass per square inch.
| value | Sectional density in Kg/m². |
| LOB_EXPORT double lob::KgToGrain | ( | double | value | ) |
Converts kilograms to grains.
| value | Mass in kilograms. |
| LOB_EXPORT double lob::KnToMph | ( | double | value | ) |
Converts Knots to miles per hour.
| value | Speed in Knots. |
| LOB_EXPORT double lob::KphToMph | ( | double | value | ) |
Converts kilometers per hour to miles per hour.
| value | Speed in kilometers per hour. |
| LOB_EXPORT double lob::LbsToGrain | ( | double | value | ) |
Converts pounds to grains.
| value | Mass in pounds. |
| LOB_EXPORT double lob::MbarToInHg | ( | double | value | ) |
Converts millibars to inches of mercury.
| value | Pressure in millibars. |
| LOB_EXPORT double lob::MilToDeg | ( | double | value | ) |
Converts milliradians (MIL) to degrees.
| value | Angle in MIL. |
| LOB_EXPORT double lob::MilToInch | ( | double | value, |
| double | range_ft ) |
Converts milliradians (MIL) to projected inches at a given range in feet.
| value | Angle in MIL. |
| range_ft | Range in feet. |
| LOB_EXPORT double lob::MilToIphy | ( | double | value | ) |
Converts milliradians (MIL) to inches per hundred yards (IPHY).
| value | Angle in MIL. |
| LOB_EXPORT double lob::MilToMoa | ( | double | value | ) |
Converts milliradians (MIL) to minutes of angle (MOA).
| value | Angle in MIL. |
| LOB_EXPORT double lob::MmToIn | ( | double | value | ) |
Converts millimeters to inches.
| value | Length in millimeters. |
| LOB_EXPORT double lob::MoaToDeg | ( | double | value | ) |
Converts minutes of angle (MOA) to degrees.
| value | Angle in MOA. |
| LOB_EXPORT double lob::MoaToInch | ( | double | value, |
| double | range_ft ) |
Converts minutes of angle (MOA) to projected inches at a given range in feet.
| value | Angle in MOA. |
| range_ft | Range in feet. |
| LOB_EXPORT double lob::MoaToIphy | ( | double | value | ) |
Converts minutes of angle (MOA) to inches per hundred yards (IPHY).
| value | Angle in MOA. |
| LOB_EXPORT double lob::MoaToMil | ( | double | value | ) |
Converts minutes of angle (MOA) to milliradians (MIL).
| value | Angle in MOA. |
| LOB_EXPORT double lob::MpsToFps | ( | double | value | ) |
Converts meters per second to feet per second.
| value | Speed in meters per second. |
| LOB_EXPORT double lob::MsToS | ( | double | value | ) |
Converts milliseconds to seconds.
| value | Time in milliseconds. |
| LOB_EXPORT double lob::MToFt | ( | double | value | ) |
Converts meters to feet.
| value | Length in meters. |
| LOB_EXPORT double lob::MtoYd | ( | double | value | ) |
Converts meters to yards.
| value | Length in meters. |
|
constexpr |
Not-a-Number for floating-point values.
| LOB_EXPORT double lob::PaToInHg | ( | double | value | ) |
Converts pascals to inches of mercury.
| value | Pressure in pascals. |
| LOB_EXPORT double lob::PsiToInHg | ( | double | value | ) |
Converts pounds per square inch (PSI) to inches of mercury.
| value | Pressure in PSI. |
| size_t lob::Solve | ( | const Input & | in, |
| const std::array< uint32_t, N > & | pranges, | ||
| std::array< Output, N > & | pouts ) |
Solves the exterior ballistics problem for a given set of ranges.
| N | The number of ranges to solve for. |
| in | Input parameters for the calculation. |
| pranges | Reference to an array of ranges (in feet) to solve for. |
| pouts | Reference to an array where the output results will be stored. |
| LOB_EXPORT size_t lob::Solve | ( | const Input & | in, |
| const uint32_t * | pranges, | ||
| Output * | pouts, | ||
| size_t | size ) |
Solves the exterior ballistics problem for a given set of ranges.
| in | Input parameters for the calculation. |
| pranges | Pointer to an array of ranges (in feet) to solve for. |
| pouts | Pointer to an array wherec the output results will be stored. |
| size | The number of ranges to solve for. |
| LOB_EXPORT double lob::SToMs | ( | double | value | ) |
Converts seconds to milliseconds.
| value | Time in seconds. |
| LOB_EXPORT double lob::SToUs | ( | double | value | ) |
Converts seconds to microseconds.
| value | Time in seconds. |
| LOB_EXPORT double lob::UsToS | ( | double | value | ) |
Converts microseconds to seconds.
| value | Time in microseconds. |
| LOB_EXPORT const char * lob::Version | ( | ) |
Gets the library version in major.minor.patch format.
| LOB_EXPORT double lob::YdToFt | ( | double | value | ) |
Converts yards to feet.
| value | Length in yards. |
| LOB_EXPORT double lob::YdToM | ( | double | value | ) |
Converts yards to meters.
| value | Length in yards. |
|
strong |
Enumerates the supported atmosphere reference types.
|
strong |
Enumerates clock angle positions.
|
strong |
Enumerates the supported drag functions.
|
strong |
| enum LOB_EXPORT lob::kAirPressure |
| enum LOB_EXPORT lob::kAltitude |
| enum LOB_EXPORT lob::kAzimuth |
| enum LOB_EXPORT lob::kBallisticCoefficient |
| enum LOB_EXPORT lob::kBaseDiameter |
| enum LOB_EXPORT lob::kDiameter |
| enum LOB_EXPORT lob::kG2 = 2U |
G1 drag function.
| enum LOB_EXPORT lob::kG5 = 5U |
G2 drag function.
| enum LOB_EXPORT lob::kG6 = 6U |
G5 drag function.
| enum LOB_EXPORT lob::kG7 = 7U |
G6 drag function.
| enum LOB_EXPORT lob::kG8 |
G7 drag function.
| enum LOB_EXPORT lob::kHumidity |
| enum LOB_EXPORT lob::kIcao |
Army Standard Metro.
International Civil Aviation Organization (ICAO)
| enum LOB_EXPORT lob::kII |
one o'clock
| enum LOB_EXPORT lob::kIII |
two o'clock
| enum LOB_EXPORT lob::kInitialVelocity |
| enum LOB_EXPORT lob::kIV |
three o'clock
| enum LOB_EXPORT lob::kIX |
eight o'clock
| enum LOB_EXPORT lob::kLatitude |
| enum LOB_EXPORT lob::kLength |
| enum LOB_EXPORT lob::kMachDragTable |
| enum LOB_EXPORT lob::kMass |
| enum LOB_EXPORT lob::kMaximumTime |
| enum LOB_EXPORT lob::kMeplatDiameter |
| enum LOB_EXPORT lob::kNoseLength |
| enum LOB_EXPORT lob::kNotFormed |
| enum LOB_EXPORT lob::kOgiveRtR |
| enum LOB_EXPORT lob::kRangeAngle |
| enum LOB_EXPORT lob::kTailLength |
| enum LOB_EXPORT lob::kV |
four o'clock
| enum LOB_EXPORT lob::kVI |
five o'clock
| enum LOB_EXPORT lob::kVII |
six o'clock
| enum LOB_EXPORT lob::kVIII |
seven o'clock
| enum LOB_EXPORT lob::kWindHeading |
| enum LOB_EXPORT lob::kX |
nine o'clock
| enum LOB_EXPORT lob::kXI |
ten o'clock
| enum LOB_EXPORT lob::kXII |
eleven o'clock
twelve o'clock
| enum LOB_EXPORT lob::kZeroAngle |
| enum LOB_EXPORT lob::kZeroDistance |