MtxVecUtils::FloatTo24Bit Function

Overload List

#SignatureDescription
1void FloatTo24Bit(int n, DewArray<float> &Src, intPtr Dst, TRounding Rounding = TRounding::rnRound);Convert single precision to 24 bit signed integer.
2void FloatTo24Bit(int n, DewArray<double> &Src, intPtr Dst, TRounding Rounding = TRounding::rnRound);Convert double precision to 24 bit signed integer.

Overload 1: void FloatTo24Bit(int n, DewArray<float> &Src, intPtr Dst, TRounding Rounding = TRounding::rnRound);

Convert single precision to 24 bit signed integer.

#NameTypeDescription
1nint
2SrcDewArray<float> &
3DstintPtr
4Rounding = TRounding::rnRoundTRounding
Remarks:

Convert single precision to 24 bit signed integer. The n parameter defines the number of elements to convert. Src is an array of single precision elements and Dst is a pointer to a byte array. Rounding parameter defines the rounding type used.

See Also: MtxVecUtils::Bit24ToFloat
Declared in Dew::Math::Units::MtxVecUtils · Dew.Math/Units.MtxVecUtils.h · Cross-compiler

Overload 2: void FloatTo24Bit(int n, DewArray<double> &Src, intPtr Dst, TRounding Rounding = TRounding::rnRound);

Convert double precision to 24 bit signed integer.

#NameTypeDescription
1nint
2SrcDewArray<double> &
3DstintPtr
4Rounding = TRounding::rnRoundTRounding
Remarks:

Convert double precision to 24 bit signed integer. The n parameter defines the number of elements to convert. Src is an array of double precision elements and Dst is a pointer to a byte array. Rounding parameter defines the rounding type used.

See Also: MtxVecUtils::Bit24ToFloat
Declared in Dew::Math::Units::MtxVecUtils · Dew.Math/Units.MtxVecUtils.h · Cross-compiler