OccupantChestRotationFactors

OccupantChestRotationFactors

new OccupantChestRotationFactors(type, values)

Description:
  • Class to hold the chest rotation factors
Source:
Example
let m = new Measurement(Measurement.X_ACCELERATION, "AX");
Parameters:
Name Type Description
type string Type of factors "linear" [a single factor] or "third_order" [three factors]
values Array.<number> Factors

Members

(static) LINEAR :string

Description:
  • linear
Source:
linear
Type:
  • string

(static) THIRD_ORDER :string

Description:
  • third order polynomial
Source:
third order polynomial
Type:
  • string

type :string

Description:
  • OccupantChestRotationFactors type
Source:
OccupantChestRotationFactors type
Type:
  • string

values :Array.<number>

Description:
  • OccupantChestRotationFactors type
Source:
OccupantChestRotationFactors type
Type:
  • Array.<number>

Methods

(static) FromJSON(jsonnullable) → (nullable) {OccupantChestRotationFactors}

Description:
  • construct OccupantChestRotationFactors from json note that chest_rotation_factors is an optional property so json may be passed in as null or undefined
Source:
Parameters:
Name Type Attributes Description
json Object <nullable>
Returns:
Type
OccupantChestRotationFactors

(static) GetAllOrders() → {Array.<string>}

Description:
  • Returns an array of all the supported type orders
Source:
Example
let types = OccupantChestRotationFactors.GetAllOrders();
Returns:
Type
Array.<string>

(static) Valid(type)

Description:
  • check if type is valid
Source:
Parameters:
Name Type Description
type string