TrajectoryCalculator class

Constructors

TrajectoryCalculator({required Distance maximumCalculatorStepSize})

Properties

hashCode → int
The hash code for this object.
no setterinherited
maximumCalculatorStepSize ↔ Distance
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

calculateEnergy(double bulletWeight, double velocity) → double
calculateOgv(double bulletWeight, double velocity) → double
calculateStabilityCoefficient(Ammunition ammunitionInfo, Weapon rifleInfo, Atmosphere atmosphere) → double
getCalculationStep(double step) → double
getCorrection(double distance, double offset) → double
getMaximumCalculatorStepSize() → Distance
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setMaximumCalculatorStepSize(Distance x) → void
sightAngle(Ammunition ammunition, Weapon weapon, Atmosphere atmosphere) → Angular
toString() → String
A string representation of this object.
inherited
trajectory(Ammunition ammunition, Weapon weapon, Atmosphere atmosphere, ShotParameters shotInfo, List<WindInfo> windInfo) → List<TrajectoryData>
windToVector(ShotParameters shot, WindInfo wind) → Vector

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

create() → TrajectoryCalculator