68 mat = mat.
scale(scale);
260 int textGenerationFlags,
double lastHeightUsed,
const String& primaryFontFile,
const String& bigFontFile)
655 template<u
int04 t_data_count>
660 static_assert(t_data_count == 3,
"Wrong Argument Count");
668 static_assert(t_data_count == 4,
"Wrong Argument Count");
711 ,
int lHooklineFlag,
fltp08 lTextAnnotationHeight,
fltp08 lTextAnnotationWidth)
1063 : m_direction(direction)
1064 , m_elevation(elevation)
1069 m_direction[0] = dx;
1070 m_direction[1] = dy;
1071 m_direction[2] = dz;
The primary angle storage class for this API. Stores an angle in an optimized format.
Definition StringStream.h:540
A bitset that stores 8 bits (elements with only two possible values: 0 or 1, true or false,...
Definition BitFlag.hpp:55
A specification of upper and lower bounds in N-dimensions.
Definition Bounds.hpp:52
constexpr Ray< t_dims, t_type > span() const
The side lengths of these bounds. For each dimension, the span is max - min.
Definition Bounds.hpp:111
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition Buffer.hpp:56
void add(t_type &&object)
Adds object to the end of the buffer.
Definition Buffer.hpp:186
logic for storing a extrusion data in a CAD-friendly way for exporting and importing.
Definition CADEntities.h:1055
fltp08 getElevation() const
Definition CADEntities.h:1076
void setDirection(fltp08 dx, fltp08 dy, fltp08 dz)
Definition CADEntities.h:1067
Extrusion()
Definition CADEntities.h:1057
void setElevation(double elevation)
Definition CADEntities.h:1075
Extrusion(Vector< 3, fltp08 > direction, fltp08 elevation)
Definition CADEntities.h:1062
Vector< 3, fltp08 > getDirection() const
Definition CADEntities.h:1074
Logic for reading or writing to a file as well as navigating filesystems.
Definition File.h:48
A line segment represented by two vertices, a start and end.
Definition Line.hpp:49
Definition Matrix.hpp:176
constexpr Matrix offset(const Vector< 2, t_type > &translation) const
Definition Matrix.hpp:564
constexpr Matrix scale(t_type scale) const
Definition Matrix.hpp:582
Represents a color in the RGB space with optional alpha transparency.
Definition RGBColor.h:54
A radial object.
Definition RadialObject.hpp:52
The core String class for the NDEVR API.
Definition String.h:69
A fixed-size array with better performance compared to dynamic containers.
Definition Vector.hpp:60
A vertex or point. A specific type of Vector used primarily for spacial location information.
Definition Vertex.hpp:48
int32_t sint04
-Defines an alias representing a 4 byte, signed integer. -Can represent exact integer values -2147483...
Definition BaseValues.hpp:64
constexpr bool IsInvalid(const t_type &value)
Query if 'value' is valid or invalid. Invalid values should return invalid if used for calculations o...
Definition BaseFunctions.hpp:170
ColorMode
Modes that CAD can use to color objects.
Definition CADEntities.h:45
@ e_background_contrast
Definition CADEntities.h:49
@ e_by_layer
Definition CADEntities.h:48
@ e_by_block
Definition CADEntities.h:47
@ e_use
Definition CADEntities.h:46
@ MIN
Definition BaseValues.hpp:196
float fltp04
Defines an alias representing a 4 byte floating-point number Bit layout is as follows: -Sign: 1 bit a...
Definition BaseValues.hpp:127
uint8_t uint01
-Defines an alias representing a 1 byte, unsigned integer -Can represent exact integer values 0 throu...
Definition BaseValues.hpp:80
@ DEGREES
Definition Angle.h:58
uint32_t uint04
-Defines an alias representing a 4 byte, unsigned integer -Can represent exact integer values 0 throu...
Definition BaseValues.hpp:96
@ Y
Definition BaseValues.hpp:169
@ X
Definition BaseValues.hpp:167
@ Z
Definition BaseValues.hpp:171
double fltp08
Defines an alias representing an 8 byte floating-point number.
Definition BaseValues.hpp:149
logic for storing an angular dimension in a CAD-friendly way for exporting and importing.
Definition CADEntities.h:657
AngularDimensionData(const Vector< 3, fltp08 > &def_point_1, const Vector< 3, fltp08 > &def_point_2, const Vector< 3, fltp08 > &def_point_3)
Definition CADEntities.h:658
AngularDimensionData(const Vector< 3, fltp08 > &def_point_1, const Vector< 3, fltp08 > &def_point_2, const Vector< 3, fltp08 > &def_point_3, const Vector< 3, fltp08 > &def_point_4)
Definition CADEntities.h:665
Vector< 3, fltp08 > def_points[t_data_count]
Definition CADEntities.h:674
logic for storing a arc data in a CAD-friendly way for exporting and importing.
Definition CADEntities.h:297
fltp08 radius
Definition CADEntities.h:307
Angle< fltp08 > angle1
Definition CADEntities.h:309
Angle< fltp08 > angle2
Definition CADEntities.h:310
ArcData(const Vector< 3, fltp08 > ¢er_point, fltp08 aRadius, Angle< fltp08 > aAngle1, Angle< fltp08 > aAngle2)
Definition CADEntities.h:298
fltp08 thickness
Definition CADEntities.h:308
Vector< 3, fltp08 > offset
Definition CADEntities.h:306
logic for storing a attribue data in a CAD-friendly way for exporting and importing.
Definition CADEntities.h:470
BitFlag attrib_flags
Definition CADEntities.h:480
String tag
Definition CADEntities.h:478
bool is_locked
Definition CADEntities.h:481
Flags
Definition CADEntities.h:472
@ e_no_prompt_on_insertion
Definition CADEntities.h:476
@ e_attribute_invisible
Definition CADEntities.h:473
@ e_verification_required
Definition CADEntities.h:475
@ e_constant_attribute
Definition CADEntities.h:474
String default_value
Definition CADEntities.h:479
A block structure (Similar to a Model) used to share data with CAD.
Definition CADEntities.h:196
Vertex< 3, fltp08 > offset
Definition CADEntities.h:202
BlockData(String name, const Vector< 8, bool > &flags)
Definition CADEntities.h:199
String description
Definition CADEntities.h:203
BlockData()
Definition CADEntities.h:197
Information for how to place a CAD block within a scene (Similar to Model).
Definition CADEntities.h:528
Vector< 2, fltp08 > grid_spacing
Definition CADEntities.h:531
bool attribute_to_follow
Definition CADEntities.h:532
String block_name
Definition CADEntities.h:529
Vector< 2, uint04 > grid_count
Definition CADEntities.h:530
Stores color information for interfacing with CAD.
Definition CADEntities.h:77
ColorMode mode
Definition CADEntities.h:78
bool operator==(const CADColorInfo &other) const
Definition CADEntities.h:80
RGBColor color
Definition CADEntities.h:79
bool operator!=(const CADColorInfo &other) const
Definition CADEntities.h:84
A container for information pointing to a CAD dictionary in CAD memory.
Definition CADEntities.h:614
Buffer< CADVariable > data
Definition CADEntities.h:618
uint04 parent_handle
Definition CADEntities.h:616
uint04 handle
Definition CADEntities.h:615
bool hard_owned
Definition CADEntities.h:617
void clear()
Definition CADEntities.h:619
logic for storing a image data in a CAD-friendly way for exporting and importing.
Definition CADEntities.h:967
Vector< 3, fltp08 > insertion_point
Definition CADEntities.h:981
uint01 contrast
Definition CADEntities.h:987
File ref
Definition CADEntities.h:980
uint01 brightness
Definition CADEntities.h:986
uint01 fade
Definition CADEntities.h:988
CADImageData(const File &iref, Vector< 3, fltp08 > insertion_point, Vector< 3, fltp08 > bottom_vector, Vector< 3, fltp08 > left_side, int iwidth, int iheight, uint01 ibrightness=50, uint01 icontrast=50, uint01 ifade=0)
Definition CADEntities.h:968
Vector< 3, fltp08 > bottom_vector
Definition CADEntities.h:982
Vector< 3, fltp08 > left_side
Definition CADEntities.h:983
Vector< 2, uint02 > image_size
Definition CADEntities.h:984
Definition CADEntities.h:390
uint04 sub_entity_marker
Definition CADEntities.h:391
PropertyOverrideType type
Definition CADEntities.h:392
Buffer< fltp08 > values
Definition CADEntities.h:393
Stores mesh data in a way optimized for CAD.
Definition CADEntities.h:379
Buffer< fltp08 > edge_crease_values
Definition CADEntities.h:402
Buffer< MeshOverride > property_overrides
Definition CADEntities.h:403
uint04 version_number
Definition CADEntities.h:404
CADMeshData()
Definition CADEntities.h:387
Buffer< Vertex< 3, fltp08 > > normals
Definition CADEntities.h:397
uint04 data_dictionary_reference
Definition CADEntities.h:406
bool bend_crease
Definition CADEntities.h:407
Buffer< Vertex< 3, fltp08 > > textures
Definition CADEntities.h:398
Buffer< RGBColor > colors
Definition CADEntities.h:399
Buffer< uint04 > edge_points
Definition CADEntities.h:401
PropertyOverrideType
Definition CADEntities.h:381
@ e_color
Definition CADEntities.h:382
@ e_transparency
Definition CADEntities.h:384
@ e_material_mapper
Definition CADEntities.h:385
@ e_material
Definition CADEntities.h:383
Buffer< Vertex< 3, fltp08 > > vertices
Definition CADEntities.h:396
Buffer< uint04 > face_points
Definition CADEntities.h:400
uint04 subdivide_level
Definition CADEntities.h:405
A variable shared between NDEVR and CAD.
Definition CADEntities.h:94
CADVARType var_type
Definition CADEntities.h:142
Buffer< std::pair< sint04, String > > values
Definition CADEntities.h:141
CADVARType
Definition CADEntities.h:96
@ e_double
Definition CADEntities.h:97
@ e_string
Definition CADEntities.h:99
@ e_int
Definition CADEntities.h:98
CADVariable(const String &label, Vector< 2, fltp08 > data)
Definition CADEntities.h:125
CADVariable()
Definition CADEntities.h:101
CADVariable(const String &label, Vector< 3, fltp08 > data)
Definition CADEntities.h:132
CADVariable(const String &label, sint04 key_label, const uint04 &value)
Definition CADEntities.h:113
CADVariable(const String &label, sint04 key_label, const fltp08 &value)
Definition CADEntities.h:107
CADVariable(const String &label)
Definition CADEntities.h:104
CADVariable(const String &label, sint04 key_label, const String &value)
Definition CADEntities.h:119
String label
Definition CADEntities.h:140
logic for storing a circle data in a CAD-friendly way for exporting and importing.
Definition CADEntities.h:487
RadialObject< 3, fltp08 > circle
Definition CADEntities.h:488
fltp08 thickness
Definition CADEntities.h:489
Defines for a given type (such as sint04, fltp08, UUID, etc) a maximum, minimum, and reserved 'invali...
Definition BaseValues.hpp:233
A type of entity in CAD representing several entities grouped together.
Definition CADEntities.h:1031
String description
Definition CADEntities.h:1033
bool selectable
Definition CADEntities.h:1035
bool is_named
Definition CADEntities.h:1034
String name
Definition CADEntities.h:1032
Buffer< uint04 > group_objects
Definition CADEntities.h:1036
A DXF friendly material class which contains UV properties similar to a Material object.
Definition CADEntities.h:1015
String description
Definition CADEntities.h:1017
MaterialUVOptions ambient
Definition CADEntities.h:1018
String name
Definition CADEntities.h:1016
MaterialUVImageOptions diffuse
Definition CADEntities.h:1019
fltp08 opacity_percent
Definition CADEntities.h:1022
Matrix< fltp08 > mat_matrix
Definition CADEntities.h:1023
fltp08 specular_gloss_factor
Definition CADEntities.h:1021
MaterialUVImageOptions specular
Definition CADEntities.h:1020
logic for storing an diametric dimension in a CAD-friendly way for exporting and importing.
Definition CADEntities.h:643
DiametricDimension(const Vector< 3, fltp08 > &def_point, double dleader)
Definition CADEntities.h:644
fltp08 leader
Definition CADEntities.h:649
Vector< 3, fltp08 > def_point
Definition CADEntities.h:648
A CAD measurement similar to AngleMeasurementModel.
Definition CADEntities.h:589
LineSegment< 3, fltp08 > alignment_data
Definition CADEntities.h:594
DimAlignedData()
Definition CADEntities.h:591
logic for storing an ordinate dimension in a CAD-friendly way for exporting and importing.
Definition CADEntities.h:680
DimOrdinateData(LineSegment< 3, fltp08 > &dimension, bool type)
Definition CADEntities.h:686
DimOrdinateData(const Vector< 3, fltp08 > &p1, const Vector< 3, fltp08 > &p2, bool type)
Definition CADEntities.h:681
bool xtype
Definition CADEntities.h:690
Dimensional measurements stored in a CAD-friendly way.
Definition CADEntities.h:549
String dimension_style
Definition CADEntities.h:576
fltp08 line_spacing_factor
Definition CADEntities.h:574
uint01 attachment_point_align
Definition CADEntities.h:572
String text
Definition CADEntities.h:575
int line_spacing_style
Definition CADEntities.h:573
Vector< 3, fltp08 > text_middle_point
Definition CADEntities.h:551
double dim_scale
Definition CADEntities.h:579
Angle< fltp08 > angle
Definition CADEntities.h:577
Angle< fltp08 > dim_hor_angle
Definition CADEntities.h:581
double linear_factor
Definition CADEntities.h:578
Vector< 3, fltp08 > definition_point
Definition CADEntities.h:550
int type
Definition CADEntities.h:571
Angle< fltp08 > text_angle
Definition CADEntities.h:580
String dimension_block_name
Definition CADEntities.h:582
Stores Ellipse information for interfacing with CAD.
Definition CADEntities.h:496
Vertex< 3, fltp08 > endpoint_of_major_axis
Definition CADEntities.h:498
fltp08 minor_to_major_ratio
Definition CADEntities.h:500
Vertex< 3, fltp08 > center
Definition CADEntities.h:497
Angle< fltp08 > angle1
Definition CADEntities.h:501
Angle< fltp08 > angle2
Definition CADEntities.h:502
fltp08 thickness
Definition CADEntities.h:499
An entity in CAD which has a layer and other handle information.
Definition CADEntities.h:158
String line_type
Definition CADEntities.h:160
uint04 file_line_number
Definition CADEntities.h:165
uint04 material_handle
Definition CADEntities.h:164
bool paper_space
Definition CADEntities.h:168
bool visible
Definition CADEntities.h:167
fltp08 line_type_scale
Definition CADEntities.h:162
CADColorInfo color_info
Definition CADEntities.h:161
PaperSpace paper_space_info
Definition CADEntities.h:163
bool is_off
Definition CADEntities.h:166
String layer
Definition CADEntities.h:159
Data for extruding an object onto a plane in CAD.
Definition CADEntities.h:209
fltp08 elevation
Definition CADEntities.h:211
Vector< 3, fltp08 > extrusion
Definition CADEntities.h:210
A handle used to reference an object in CAD.
Definition CADEntities.h:148
uint04 file_line_number
Definition CADEntities.h:151
uint04 parent_handle
Definition CADEntities.h:150
uint04 handle
Definition CADEntities.h:149
logic for storing a hatch-data in a CAD-friendly way for exporting and importing.
Definition CADEntities.h:735
String pattern_name
Definition CADEntities.h:752
Vector< 2, fltp08 > pattern_origin
Definition CADEntities.h:751
fltp08 scale
Definition CADEntities.h:753
uint04 num_loops
Definition CADEntities.h:754
Angle< fltp08 > angle
Definition CADEntities.h:755
bool is_solid
Definition CADEntities.h:756
HatchData()
Definition CADEntities.h:736
HatchData(uint04 numLoops, bool solid, fltp08 scale, const Angle< fltp08 > &angle, String pattern, const Vector< 2, fltp08 > &origin)
Definition CADEntities.h:743
Stores information about the edge of a CAD hatch pattern.
Definition CADEntities.h:775
bool periodic
Definition CADEntities.h:892
Angle< fltp08 > angle_start
Definition CADEntities.h:885
bool is_ccw
Definition CADEntities.h:893
HatchEdgeData(uint01 degree, bool rational, bool periodic, Buffer< fltp08 > knots, Buffer< Buffer< fltp08 > > controlPoints, Buffer< Buffer< fltp08 > > fitPoints, Buffer< fltp08 > weights, const Vector< 2, fltp08 > &start_tangent, const Vector< 2, fltp08 > &end_tangent)
Definition CADEntities.h:839
LineSegment< 2, fltp08 > line
Definition CADEntities.h:878
uint01 degree
Definition CADEntities.h:890
Buffer< Buffer< fltp08 > > vertices
Definition CADEntities.h:873
Vector< 2, fltp08 > end_tangent
Definition CADEntities.h:881
fltp08 radius
Definition CADEntities.h:884
EdgeType
Definition CADEntities.h:864
@ e_line
Definition CADEntities.h:866
@ e_elliptic_arc
Definition CADEntities.h:868
@ e_spline
Definition CADEntities.h:869
@ e_undefined
Definition CADEntities.h:865
@ e_arc
Definition CADEntities.h:867
Buffer< fltp08 > weights
Definition CADEntities.h:876
Angle< fltp08 > angle_end
Definition CADEntities.h:886
Buffer< Buffer< fltp08 > > control_points
Definition CADEntities.h:871
HatchEdgeData(const Vector< 2, fltp08 > &arc_center, fltp08 radius, Angle< fltp08 > angle_start, Angle< fltp08 > angle_end, bool ccw)
Definition CADEntities.h:805
Vector< 2, fltp08 > center_point
Definition CADEntities.h:879
HatchEdgeData(const Vector< 2, fltp08 > ¢er, const Vector< 2, fltp08 > &axis_major_point, double ratio, Angle< fltp08 > angle1, Angle< fltp08 > angle2, bool ccw)
Definition CADEntities.h:822
Vector< 2, fltp08 > axis_major_point
Definition CADEntities.h:882
Buffer< Buffer< fltp08 > > fit_points
Definition CADEntities.h:872
fltp08 axis_ratio
Definition CADEntities.h:887
EdgeType type
Definition CADEntities.h:889
HatchEdgeData(LineSegment< 2, fltp08 > line)
Definition CADEntities.h:790
bool rational
Definition CADEntities.h:891
Vector< 2, fltp08 > start_tangent
Definition CADEntities.h:880
HatchEdgeData()
Definition CADEntities.h:776
Buffer< fltp08 > knots
Definition CADEntities.h:875
Provides loops of data for the CAD hatch pattern.
Definition CADEntities.h:762
uint04 num_of_edges
Definition CADEntities.h:769
HatchLoopData(uint04 num_edges)
Definition CADEntities.h:766
HatchLoopData()
Definition CADEntities.h:763
Stores the definition of an Image for easy interface with CAD.
Definition CADEntities.h:1043
String ref
Definition CADEntities.h:1048
File file
Definition CADEntities.h:1049
ImageDefData(const String &iref, const File &ifile)
Definition CADEntities.h:1044
Layer information shared with CAD.
Definition CADEntities.h:175
LayerData(String name, const Vector< 8, bool > &flags)
Definition CADEntities.h:184
LayerFlags
Definition CADEntities.h:177
@ e_frozen_by_default
Definition CADEntities.h:179
@ e_frozen
Definition CADEntities.h:178
@ e_locked
Definition CADEntities.h:180
Vector< 8, bool > flags
Definition CADEntities.h:189
String name
Definition CADEntities.h:188
LayerData()
Definition CADEntities.h:182
logic for storing a leader in a CAD-friendly way for exporting and importing.
Definition CADEntities.h:696
LeaderData()
Definition CADEntities.h:702
LeaderPathType
Definition CADEntities.h:698
@ e_segments
Definition CADEntities.h:699
@ e_spline
Definition CADEntities.h:700
LeaderData(bool lArrowHeadFlag, LeaderPathType lLeaderPathType, int lLeaderCreationFlag, int lHooklineDirectionFlag, int lHooklineFlag, fltp08 lTextAnnotationHeight, fltp08 lTextAnnotationWidth)
Definition CADEntities.h:710
BitFlag hookline_direction_flag
Definition CADEntities.h:724
Vector< 2, fltp08 > text_annotation_size
Definition CADEntities.h:720
bool use_arrowhead
Definition CADEntities.h:721
LeaderPathType leader_path_type
Definition CADEntities.h:722
BitFlag leader_creation_flag
Definition CADEntities.h:723
BitFlag hookline_flag
Definition CADEntities.h:725
A CAD-friendly way to store line segment information.
Definition CADEntities.h:509
LineSegment< 3, fltp08 > line
Definition CADEntities.h:510
fltp08 thickness
Definition CADEntities.h:511
information for a type of line in CAD
Definition CADEntities.h:218
fltp08 pattern_length
Definition CADEntities.h:238
String description
Definition CADEntities.h:235
Vector< 32, bool > flags
Definition CADEntities.h:236
String name
Definition CADEntities.h:234
LineTypeData(const String &name, const String &description, int flags, uint04 numberOfDashes, double patternLength, const Buffer< fltp08 > &pattern)
Definition CADEntities.h:226
Buffer< fltp08 > pattern
Definition CADEntities.h:239
uint04 number_of_dashes
Definition CADEntities.h:237
LineTypeData(const String &name, const String &description, int flags, uint04 numberOfDashes, double patternLength)
Definition CADEntities.h:219
A CAD measurement similar to DistanceMeasurementModel.
Definition CADEntities.h:600
LinearDimension()
Definition CADEntities.h:601
LineSegment< 3, fltp08 > alignment_data
Definition CADEntities.h:604
Angle< fltp08 > oblique_angle
Definition CADEntities.h:607
Angle< fltp08 > line_angle
Definition CADEntities.h:606
Stores text data that may have an attachment point and direction for interfacing with CAD.
Definition CADEntities.h:414
Vector< 3, fltp08 > insertion_point
Definition CADEntities.h:429
String style
Definition CADEntities.h:444
int attachment_point
Definition CADEntities.h:439
Vector< 3, fltp08 > direction_vector
Definition CADEntities.h:430
String text
Definition CADEntities.h:443
int line_spacing_style
Definition CADEntities.h:441
fltp04 line_spacing_factor
Definition CADEntities.h:442
int drawing_direction
Definition CADEntities.h:440
Vector< 2, fltp08 > text_size
Definition CADEntities.h:431
MTextData(Vector< 3, fltp08 > insertion_point, Vector< 3, fltp08 > direction, Vector< 2, fltp08 > size, int attachmentPoint, int drawingDirection, int lineSpacingStyle, fltp04 lineSpacingFactor, const String &text, const String &style, Angle< fltp08 > angle)
Definition CADEntities.h:415
Angle< fltp08 > angle
Definition CADEntities.h:445
Provides CAD information for managing images attached to a Material.
Definition CADEntities.h:1004
fltp08 map_blend_factor
Definition CADEntities.h:1005
bool use_current_scene
Definition CADEntities.h:1006
RGBColor color
Definition CADEntities.h:1008
File map_file
Definition CADEntities.h:1007
UVOptions used for interfacing with CAD, similar to those used by a Material object.
Definition CADEntities.h:995
RGBColor color
Definition CADEntities.h:998
fltp08 color_intensity
Definition CADEntities.h:997
bool use_value
Definition CADEntities.h:996
Stores CAD details about PaperSpace or 2D document space.
Definition CADEntities.h:55
Bounds< 3, fltp08 > model_space_bounds
Definition CADEntities.h:56
Bounds< 3, fltp08 > paper_space_bounds
Definition CADEntities.h:57
Matrix< fltp08 > paperToModelMatrix() const
Definition CADEntities.h:59
Vertex< 3, fltp08 > paper_space_origin
Definition CADEntities.h:58
Data about where to place an object, used for interfacing with CAD.
Definition CADEntities.h:518
Vector< 3, fltp08 > scale
Definition CADEntities.h:520
Angle< fltp08 > azimuth
Definition CADEntities.h:521
Vector< 3, fltp08 > offset
Definition CADEntities.h:519
Point data stored in a friendly way for interfacing with CAD.
Definition CADEntities.h:539
Angle< fltp08 > effect_angle
Definition CADEntities.h:541
Vector< 3, fltp08 > location
Definition CADEntities.h:540
fltp08 thickness
Definition CADEntities.h:542
logic for storing a polyline data in a CAD-friendly way for exporting and importing.
Definition CADEntities.h:317
CurveType
Definition CADEntities.h:330
@ e_quadratic_b
Definition CADEntities.h:332
@ e_no_smooth
Definition CADEntities.h:331
@ e_bezier
Definition CADEntities.h:334
@ e_cubic
Definition CADEntities.h:333
uint04 vertex_count
Definition CADEntities.h:340
uint04 n
Definition CADEntities.h:342
Vector< 32, bool > flags
Definition CADEntities.h:343
fltp08 start_width
Definition CADEntities.h:337
CurveType curve_type
Definition CADEntities.h:339
uint04 m
Definition CADEntities.h:341
PolyFlags
Definition CADEntities.h:319
@ e_line_continuous
Definition CADEntities.h:327
@ e_curve_fits
Definition CADEntities.h:321
@ e_is_3D_polyline
Definition CADEntities.h:323
@ e_is_closed_n
Definition CADEntities.h:325
@ e_is_3D_polygon
Definition CADEntities.h:324
@ e_spline_fits
Definition CADEntities.h:322
@ e_closed
Definition CADEntities.h:320
@ e_is_polyface_mesh
Definition CADEntities.h:326
fltp08 end_width
Definition CADEntities.h:338
fltp08 thickness
Definition CADEntities.h:336
logic for storing a radial dimension in a CAD-friendly way for exporting and importing.
Definition CADEntities.h:630
fltp08 leader
Definition CADEntities.h:637
Vector< 3, fltp08 > coordinate
Definition CADEntities.h:636
RadialDimension(const Vector< 3, fltp08 > &coordinate, fltp08 dleader)
Definition CADEntities.h:631
logic for storing a spline data in a CAD-friendly way for exporting and importing.
Definition CADEntities.h:362
Vector< 3, fltp08 > tangent_end
Definition CADEntities.h:373
uint01 degree
Definition CADEntities.h:370
Vector< 3, fltp08 > tangent_start
Definition CADEntities.h:372
Vector< 32, bool > flags
Definition CADEntities.h:371
SplineData(uint01 degree, const Vector< 32, bool > &flags)
Definition CADEntities.h:363
logic for storing a style data in a CAD-friendly way for exporting and importing.
Definition CADEntities.h:245
fltp08 last_height_used
Definition CADEntities.h:287
fltp08 width_factor
Definition CADEntities.h:284
String big_font_file
Definition CADEntities.h:289
fltp08 oblique_angle
Definition CADEntities.h:285
String primary_font_file
Definition CADEntities.h:288
bool bold
Definition CADEntities.h:290
fltp08 fixed_text_height
Definition CADEntities.h:283
StyleData(const String &name, int flags, double fixedTextHeight, double widthFactor, double obliqueAngle, int textGenerationFlags, double lastHeightUsed, const String &primaryFontFile, const String &bigFontFile)
Definition CADEntities.h:259
String name
Definition CADEntities.h:281
bool operator==(const StyleData &other) const
Definition CADEntities.h:274
int flags
Definition CADEntities.h:282
bool italic
Definition CADEntities.h:291
Vector< 32, bool > text_generation_flags
Definition CADEntities.h:286
StyleData()
Definition CADEntities.h:246
logic for storing a text data in a CAD-friendly way for exporting and importing.
Definition CADEntities.h:451
fltp08 height
Definition CADEntities.h:456
fltp08 reference_width
Definition CADEntities.h:457
String style
Definition CADEntities.h:453
Angle< fltp08 > rotatation
Definition CADEntities.h:459
fltp08 line_spacing_factor
Definition CADEntities.h:462
String text
Definition CADEntities.h:452
uint01 alignment
Definition CADEntities.h:464
Angle< fltp08 > oblique_angle
Definition CADEntities.h:460
Vertex< 3, fltp08 > align_a
Definition CADEntities.h:454
uint01 flags
Definition CADEntities.h:463
fltp08 x_scale
Definition CADEntities.h:461
Vertex< 3, fltp08 > align_b
Definition CADEntities.h:455
fltp08 thickness
Definition CADEntities.h:458
logic for storing a trace data in a CAD-friendly way for exporting and importing.
Definition CADEntities.h:349
bool is_solid
Definition CADEntities.h:356
TraceData()
Definition CADEntities.h:350
Vertex< 3, fltp08 > points[4]
Definition CADEntities.h:354
fltp08 thickness
Definition CADEntities.h:355
logic for storing a viewport in a CAD-friendly way for exporting and importing.
Definition CADEntities.h:901
bool has_grid
Definition CADEntities.h:958
Vector< 16, bool > flags
Definition CADEntities.h:939
BitFlag view_mode
Definition CADEntities.h:959
ViewMode
Definition CADEntities.h:951
@ e_front_clipping
Definition CADEntities.h:953
@ e_front_clipping_not_at_camera
Definition CADEntities.h:956
@ e_back_clipping
Definition CADEntities.h:954
@ e_ucs_follow_mode
Definition CADEntities.h:955
@ e_perspective_view
Definition CADEntities.h:952
Angle< fltp08 > twist_angle
Definition CADEntities.h:912
Vector< 2, fltp08 > grid_spacing
Definition CADEntities.h:906
fltp08 perspective_lens_length
Definition CADEntities.h:909
Vector< 2, fltp08 > center_point
Definition CADEntities.h:903
uint04 handle
Definition CADEntities.h:902
fltp08 view_height
Definition CADEntities.h:911
Flags
Definition CADEntities.h:915
@ e_is_pair_top
Definition CADEntities.h:928
@ e_enable_snaps
Definition CADEntities.h:924
@ e_grid_subdivide
Definition CADEntities.h:936
@ e_enable_icon_visible
Definition CADEntities.h:921
@ e_grid_beyond_limits
Definition CADEntities.h:934
@ e_enable_hide_plot
Definition CADEntities.h:927
@ e_enable_front_clip
Definition CADEntities.h:920
@ e_iso_pair_right
Definition CADEntities.h:929
@ e_enable_non_rect_clipping
Definition CADEntities.h:932
@ e_enable_grids
Definition CADEntities.h:925
@ e_viewport_off
Definition CADEntities.h:933
@ e_adaptive_grid
Definition CADEntities.h:935
@ e_enable_back_clipping
Definition CADEntities.h:918
@ e_enable_front_clipping
Definition CADEntities.h:917
@ e_enable_iso_snap
Definition CADEntities.h:926
@ e_enable_fast_zoom
Definition CADEntities.h:923
@ e_enable_viewport_zoom_lock
Definition CADEntities.h:930
@ e_enable_ucs_follow
Definition CADEntities.h:919
@ e_grid_follows_workplane
Definition CADEntities.h:937
@ e_enable_ucs_icon_at_origin
Definition CADEntities.h:922
@ e_always_enabled
Definition CADEntities.h:931
@ e_perspective
Definition CADEntities.h:916
Bounds< 2, fltp08 > screen_bounds
Definition CADEntities.h:904
RenderMode
Definition CADEntities.h:941
@ e_hidden_line
Definition CADEntities.h:944
@ e_wireframe
Definition CADEntities.h:943
@ e_gouraud_shaded
Definition CADEntities.h:946
@ e_flat_shaded
Definition CADEntities.h:945
@ e_2D_optimized
Definition CADEntities.h:942
@ e_gouraud_shaded_with_wireframe
Definition CADEntities.h:948
@ e_flat_shaded_with_wireframe
Definition CADEntities.h:947
Vector< 3, fltp08 > view_direction
Definition CADEntities.h:907
RenderMode render_mode
Definition CADEntities.h:960
Vector< 2, fltp08 > snap_spacing
Definition CADEntities.h:905
Vector< 3, fltp08 > target_point
Definition CADEntities.h:908
Vector< 2, fltp08 > clip_planes
Definition CADEntities.h:910