ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
DL_DimensionData Struct Reference

#include <dl_entities.h>

Collaboration diagram for DL_DimensionData:

Public Member Functions

 DL_DimensionData (double dpx, double dpy, double dpz, double mpx, double mpy, double mpz, int type, int attachmentPoint, int lineSpacingStyle, double lineSpacingFactor, const std::string &text, const std::string &style, double angle, double linearFactor=1.0, double dimScale=1.0)
 

Public Attributes

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

Detailed Description

Generic Dimension Data.

Definition at line 990 of file dl_entities.h.

Constructor & Destructor Documentation

◆ DL_DimensionData()

DL_DimensionData::DL_DimensionData ( double  dpx,
double  dpy,
double  dpz,
double  mpx,
double  mpy,
double  mpz,
int  type,
int  attachmentPoint,
int  lineSpacingStyle,
double  lineSpacingFactor,
const std::string &  text,
const std::string &  style,
double  angle,
double  linearFactor = 1.0,
double  dimScale = 1.0 
)
inline

Constructor. Parameters: see member variables.

Definition at line 995 of file dl_entities.h.

Member Data Documentation

◆ angle

double DL_DimensionData::angle

Rotation angle of dimension text away from default orientation.

Definition at line 1090 of file dl_entities.h.

◆ attachmentPoint

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,

Definition at line 1065 of file dl_entities.h.

◆ dimScale

double DL_DimensionData::dimScale

Dimension scale (dimscale) style override.

Definition at line 1098 of file dl_entities.h.

◆ dpx

double DL_DimensionData::dpx

X Coordinate of definition point.

Definition at line 1027 of file dl_entities.h.

◆ dpy

double DL_DimensionData::dpy

Y Coordinate of definition point.

Definition at line 1029 of file dl_entities.h.

◆ dpz

double DL_DimensionData::dpz

Z Coordinate of definition point.

Definition at line 1031 of file dl_entities.h.

◆ linearFactor

double DL_DimensionData::linearFactor

Linear factor style override.

Definition at line 1094 of file dl_entities.h.

◆ lineSpacingFactor

double DL_DimensionData::lineSpacingFactor

Line spacing factor. 0.25 .. 4.0

Definition at line 1075 of file dl_entities.h.

◆ lineSpacingStyle

int DL_DimensionData::lineSpacingStyle

Line spacing style.

1 = at least, 2 = exact

Definition at line 1071 of file dl_entities.h.

◆ mpx

double DL_DimensionData::mpx

X Coordinate of middle point of the text.

Definition at line 1033 of file dl_entities.h.

◆ mpy

double DL_DimensionData::mpy

Y Coordinate of middle point of the text.

Definition at line 1035 of file dl_entities.h.

◆ mpz

double DL_DimensionData::mpz

Z Coordinate of middle point of the text.

Definition at line 1037 of file dl_entities.h.

◆ style

std::string DL_DimensionData::style

Dimension style (font name).

Definition at line 1085 of file dl_entities.h.

◆ text

std::string DL_DimensionData::text

Text string.

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

Definition at line 1083 of file dl_entities.h.

◆ type

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

Definition at line 1057 of file dl_entities.h.


The documentation for this struct was generated from the following file: