A3DMDDimensionValueFormatData
Fields
A3DUTF8Char * |
m_pcName |
A3DInt32 |
m_iType |
A3DInt32 |
m_iUnit |
A3DDouble |
m_dGlobFact |
A3DInt32 |
m_iNulFac_1 |
A3DInt32 |
m_iNulFac_2 |
A3DInt32 |
m_iExise |
A3DInt32 |
m_iSep1000 |
A3DDouble |
m_dFact_1 |
A3DDouble |
m_dFact_2 |
A3DDouble |
m_dFact_3 |
A3DDouble |
m_dValPos_1 |
A3DDouble |
m_dValPos_2 |
A3DDouble |
m_dValPos_3 |
A3DUTF8Char * |
m_pcSepar_1 |
A3DUTF8Char * |
m_pcSepar_2 |
A3DUTF8Char * |
m_pcSepar_3 |
A3DDouble |
m_dSepScl_1 |
A3DDouble |
m_dSepScl_2 |
A3DDouble |
m_dSepScl_3 |
A3DDouble |
m_dSepPos_1 |
A3DDouble |
m_dSepPos_2 |
A3DDouble |
m_dSepPos_3 |
A3DDouble |
m_dRestY |
A3DInt32 |
m_iFinZer |
A3DInt32 |
m_iSepNum |
A3DInt32 |
m_iTypFrac |
A3DInt32 |
m_iSepDen |
A3DDouble |
m_dOperY |
A3DInt32 |
m_iNulOther |
A3DDouble |
m_dResScl |
A3DInt32 |
m_iFact |
A3DDouble |
m_dRestX |
Detailed Description
-
struct
A3DMDDimensionValueFormatData
Structure that describes dimension value format.
See also
A3DMDDimensionValueFormatGet
Note
for member m_iType:
- 1 = length(for length/distance/radius/diameter),
- 2 = Angle.
Note
for member m_iUnit:
- 1 = mm,
- 2 = inch,
- 3 = radians,
- 4 = degree,
- 5 = grade.
Note
for member m_dGlobFact: to display a distance in kilometers with units set to mm with Unit=1: GlobFact = 0.000001
Note
for member m_iSepDen:
- 1 = Before fractional rest,
- 2 = After fractional rest.
Note
for member m_iTypFrac:
- 1 = Side by side,
- 2 = Super-imposed.
Note
for member m_dFact_1: Separator number as described in the separator character table. The term measured value is multiplied by this factor prior to being displayed (the global multiplying factor is also used). All 3 values must have increasing and distinct values. Example: to display a value with a term in centimeters and a term in millimeters, with m_iUnit = mm and m_dGlobFact = 1., set m_dFact_1 = 1 and m_dFact_2 = 10
Public Members
-
A3DUTF8Char *
m_pcName
Name.
-
A3DInt32
m_iType
Value type.
1 = length(for length/distance/radius/diameter), 2 = Angle
-
A3DInt32
m_iUnit
Value unit.
1: mm, 2: inch, 3: radian, 4: degree, 5: grade
-
A3DDouble
m_dGlobFact
Global Multiplying Factor.
-
A3DInt32
m_iNulFac_1
1/2 => No display/display of Null Terms.
-
A3DInt32
m_iNulFac_2
1/2 => No display/display of leading zeros in last factor.
-
A3DInt32
m_iExise
1/2 => No display/display of separator for thousands.
-
A3DInt32
m_iSep1000
Separator characters for decimal and thousands.
-
A3DDouble
m_dFact_1
Term Multiplying Factor on term 1.
-
A3DDouble
m_dFact_2
Term Multiplying Factor on term 2.
-
A3DDouble
m_dFact_3
Term Multiplying Factor on term 3.
-
A3DDouble
m_dValPos_1
Term vertical positioning offset on term 1.
-
A3DDouble
m_dValPos_2
Term vertical positioning offset on term 2.
-
A3DDouble
m_dValPos_3
Term vertical positioning offset on term 3.
-
A3DUTF8Char *
m_pcSepar_1
Term unit suffix, 16 char string on term 1.
-
A3DUTF8Char *
m_pcSepar_2
Term unit suffix, 16 char string on term 2.
-
A3DUTF8Char *
m_pcSepar_3
Term unit suffix, 16 char string on term 3.
-
A3DDouble
m_dSepScl_1
Term unit height ratio on term 1.
-
A3DDouble
m_dSepScl_2
Term unit height ratio on term 2.
-
A3DDouble
m_dSepScl_3
Term unit height ratio on term 3.
-
A3DDouble
m_dSepPos_1
Term unit vertical positioning offset on term 1.
-
A3DDouble
m_dSepPos_2
Term unit vertical positioning offset on term 2.
-
A3DDouble
m_dSepPos_3
Term unit vertical positioning offset on term 3.
-
A3DDouble
m_dRestY
This value is a ratio to the character height.
-
A3DInt32
m_iFinZer
1/2 => No display/display of trailing zeros (number of digits specified in the value precision).
-
A3DInt32
m_iSepNum
Fractional Rest.
-
A3DInt32
m_iTypFrac
Fraction type.
-
A3DInt32
m_iSepDen
Position of last term unit.
-
A3DDouble
m_dOperY
Offset between fractional rest numerator and denominator.
-
A3DInt32
m_iNulOther
This value is a ratio to the character height.
-
A3DDouble
m_dResScl
Unit height / value height.
-
A3DInt32
m_iFact
Number of terms in the value [1..3].
-
A3DDouble
m_dRestX
This value is a ratio to the character height.