BCLIBCFFI_Shot class final

User-facing shot descriptor in natural units.

Preferred input for BCLIBCFFI_*_shot() functions. All physics conversions (CIPM-2007 atmosphere density, Coriolis trig, PCHIP drag curve, cant sin/cos) are performed inside C++ by BCLIBC_Shot::to_shot_props().

latitude_deg / azimuth_deg: pass NaN to disable Coriolis / flat-fire-only. pressure_hpa == 0 : vacuum (zero drag).

All pointers must remain valid for the duration of the call. Drag table is passed as two parallel arrays (mach_data / cd_data) matching the BCLIBC_Shot layout — no interleaved struct needed.

Inheritance
Implemented types
Available extensions

Constructors

BCLIBCFFI_Shot()

Properties

address Pointer<T>

Available on T, provided by the StructAddress extension

The memory address of the underlying data.
no setter
altitude_ft double
getter/setter pair
azimuth_deg double
getter/setter pair
barrel_azimuth_rad double
getter/setter pair
barrel_elevation_rad double
getter/setter pair
bc double
getter/setter pair
cant_angle_rad double
getter/setter pair
cd_data Pointer<Double>
getter/setter pair
config BCLIBCFFI_Config
getter/setter pair
diameter_inch double
getter/setter pair
drag_table_size int
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
humidity double
< 0.0 – 1.0
getter/setter pair
latitude_deg double
getter/setter pair
length_inch double
getter/setter pair
look_angle_rad double
getter/setter pair
mach_data Pointer<Double>
Parallel Mach / CD arrays – must remain valid for the duration of the call.
getter/setter pair
method BCLIBCFFI_IntegrationMethod
no setter
methodAsInt int
getter/setter pair
muzzle_velocity_fps double
getter/setter pair
pressure_hpa double
< 0 = vacuum
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sight_height_ft double
getter/setter pair
temp_c double
getter/setter pair
twist_inch double
getter/setter pair
weight_grain double
getter/setter pair
wind_count int
getter/setter pair
winds Pointer<BCLIBCFFI_Wind>
Wind list – must remain valid for the duration of the call.
getter/setter pair

Methods

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