UF_WEIGHT_properties_s (view source)
Defined in: uf_weight.h
Also known as:
- UF_WEIGHT_properties_t
- UF_WEIGHT_properties_p_t
- UF_WEIGHT_properties_pc_t
Overview
Structure for passing weight management data.
If the cache_state is UF_WEIGHT_no_cache, the geometric values and their
errors are all set to 0.0, and the units to UF_WEIGHT_units_km.
If the cache_state is UF_WEIGHT_asserted or UF_WEIGHT_inherited, then
density, mass and volume are as follows:
a) either mass is UF_WEIGHT_asserted and the other two are UF_WEIGHT_unknown
b) or two of them are UF_WEIGHT_asserted and the third is UF_WEIGHT_implied.
(This is the only situation in which UF_WEIGHT_implied can be used.)
If the volume_state is UF_WEIGHT_unknown, then the cofm_state and the
mofi_state will also be UF_WEIGHT_unknown. If the cofm_state is
UF_WEIGHT_unknown, then the mofi_state will be UF_WEIGHT_unknown.
Data Members
units
cache_state
accuracy
double
density
double
density_state
volume
double
volume_error
double
volume_state
mass
double
mass_error
double
mass_state
area
double
area_error
double
area_state
center_of_mass [ 3 ]
double
cofm_error
double
cofm_state
moments_of_inertia [ 3 ]
double
products_of_inertia [ 3 ]
double
mofi_error
double
mofi_state
returned