BcLibCWeb class

Implemented types

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

calculateEnergy(double bulletWeightGrain, double velocityFps) → double
override
calculateOgw(double bulletWeightGrain, double velocityFps) → double
override
findApexShot(BcShot shot) → BcTrajectoryData
override
findMaxRangeShot(BcShot shot, {double lowAngleDeg = 0.0, double highAngleDeg = 45.0}) → BcMaxRangeResult
override
findZeroAngleShot(BcShot shot, double distanceFt) → double
override
findZeroPointShot(BcShot shot, double distanceFt) → BcZeroPointResult
override
getCorrection(double distanceFt, double offsetFt) → double
override
integrateAtShot(BcShot shot, BcBaseTrajInterpKey key, double targetValue) → BcInterception
override
integrateShot(BcShot shot, BcTrajectoryRequest request) → BcHitResult
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

open({String wasmUrl = 'assets/packages/bclibc_flutter/assets/wasm/bclibc_ffi.wasm'}) → Future<BcLibCWeb>
Loads and instantiates the wasm module. Call once per app; the result can be reused for any number of shots/calls.