|
QCAD Application Framework
CAD Application Development and Automation.
|
Generic Dimension Data. More...
#include <dl_entities.h>
Public Member Functions | |
| DL_DimensionData (double ddpx, double ddpy, double ddpz, double dmpx, double dmpy, double dmpz, int dType, int dAttachmentPoint, int dLineSpacingStyle, double dLineSpacingFactor, const string &dText, const string &dStyle, double dAngle) | |
| Constructor. | |
Public Attributes | |
| double | angle |
| Rotation angle of dimension text away from default orientation. | |
| int | attachmentPoint |
| Attachment point. | |
| double | dpx |
| double | dpy |
| double | dpz |
| double | lineSpacingFactor |
| Line spacing factor. | |
| int | lineSpacingStyle |
| Line spacing style. | |
| double | mpx |
| double | mpy |
| double | mpz |
| string | style |
| string | text |
| Text string. | |
| int | type |
| Dimension type. | |
Generic Dimension Data.
|
inline |
Constructor.
Parameters: see member variables.
| double DL_DimensionData::angle |
Rotation angle of dimension text away from default orientation.
| int DL_DimensionData::attachmentPoint |
Attachment point.
1 = Top left, 2 = Top center, 3 = Top right, 4 = Middle left, 5 = Middle center, 6 = Middle right, 7 = Bottom left, 8 = Bottom center, 9 = Bottom right,
| double DL_DimensionData::dpx |
X Coordinate of definition point.
| double DL_DimensionData::dpy |
Y Coordinate of definition point.
| double DL_DimensionData::dpz |
Z Coordinate of definition point.
| double DL_DimensionData::lineSpacingFactor |
Line spacing factor.
0.25 .. 4.0
| int DL_DimensionData::lineSpacingStyle |
Line spacing style.
1 = at least, 2 = exact
| double DL_DimensionData::mpx |
X Coordinate of middle point of the text.
| double DL_DimensionData::mpy |
Y Coordinate of middle point of the text.
| double DL_DimensionData::mpz |
Z Coordinate of middle point of the text.
| string DL_DimensionData::style |
Dimension style (font name).
| string DL_DimensionData::text |
| int DL_DimensionData::type |
Dimension type.
0 Rotated, horizontal, or vertical 1 Aligned 2 Angular 3 Diametric 4 Radius 5 Angular 3-point 6 Ordinate 64 Ordinate type. This is a bit value (bit 7) used only with integer value 6. If set, ordinate is X-type; if not set, ordinate is Y-type 128 This is a bit value (bit 8) added to the other group 70 values if the dimension text has been positioned at a user-defined location rather than at the default location