TerraLib 4.1
DL_DimensionData Struct Reference

#include <dl_entities.h>

List of all members.

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)

Public Attributes

double dpx
double dpy
double dpz
double mpx
double mpy
double mpz
int type
int attachmentPoint
int lineSpacingStyle
double lineSpacingFactor
string text
string style
double angle

Detailed Description

Generic Dimension Data.

Author:
Andrew Mustun

Constructor & Destructor Documentation

DL_DimensionData::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 
) [inline]

Constructor. Parameters: see member variables.


Member Data Documentation

Rotation angle of dimension text away from default orientation.

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,

X Coordinate of definition point.

Y Coordinate of definition point.

Z Coordinate of definition point.

Line spacing factor. 0.25 .. 4.0

Line spacing style.

1 = at least, 2 = exact

X Coordinate of middle point of the text.

Y Coordinate of middle point of the text.

Z Coordinate of middle point of the text.

Dimension style (font name).

Text string.

Text string entered explicitly by user or null or "<>" for the actual measurement or " " (one blank space). for supressing the text.

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


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines