KiCad PCB EDA Suite
Loading...
Searching...
No Matches
altium_parser_pcb.h
Go to the documentation of this file.
1/*
2 * This program source code file is part of KiCad, a free EDA CAD application.
3 *
4 * Copyright (C) 2020 Thomas Pointhuber <[email protected]>
5 * Copyright The KiCad Developers, see AUTHORS.txt for contributors.
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; either version 2
10 * of the License, or (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program. If not, see <https://www.gnu.org/licenses/>.
19 */
20
21#ifndef ALTIUM_PARSER_PCB_H
22#define ALTIUM_PARSER_PCB_H
23
24#include <cstdint>
25#include <cstring>
26#include <limits>
27#include <map>
28#include <memory>
29#include <set>
30#include <vector>
31
32#include <wx/gdicmn.h>
33
34#include <math/vector2d.h>
35#include <math/vector3.h>
36
37
38// tthis constant specifies an unconnected net
39const uint16_t ALTIUM_NET_UNCONNECTED = std::numeric_limits<uint16_t>::max();
40
41// this constant specifies a item which is not inside an component
42const uint16_t ALTIUM_COMPONENT_NONE = std::numeric_limits<uint16_t>::max();
43
44// this constant specifies a item which does not define a polygon
45const uint16_t ALTIUM_POLYGON_NONE = std::numeric_limits<uint16_t>::max();
46
47// 65534 seems to be belonging to board outline
48const uint16_t ALTIUM_POLYGON_BOARD = std::numeric_limits<uint16_t>::max() - 1;
49
50// bits of the keepout restriction mask carried by tracks, arcs, fills and regions
51const uint8_t ALTIUM_KEEPOUT_VIA = 0x01;
52const uint8_t ALTIUM_KEEPOUT_TRACK = 0x02;
53const uint8_t ALTIUM_KEEPOUT_COPPER = 0x04;
54const uint8_t ALTIUM_KEEPOUT_SMD_PAD = 0x08;
55const uint8_t ALTIUM_KEEPOUT_TH_PAD = 0x10;
56const uint8_t ALTIUM_KEEPOUT_ALL = 0x1F;
57
58
59enum class ALTIUM_UNIT
60{
62
63 INCH = 1,
64 MILS = 2,
65 MM = 3,
66 CM = 4
67};
68
82
98
100{
102
103 COPPER = 0, // KIND=0
104 POLYGON_CUTOUT = 1, // KIND=1
105 DASHED_OUTLINE = 2, // KIND=2
106 UNKNOWN_3 = 3, // KIND=3
107 CAVITY_DEFINITION = 4, // KIND=4
108 BOARD_CUTOUT = 5, // KIND=0 AND ISBOARDCUTOUT=TRUE
109};
110
128
130{
135};
136
138{
140
141 ARC = 1,
142 PAD = 2,
143 VIA = 3,
144 TRACK = 4,
145 TEXT = 5,
146 FILL = 6,
147 REGION = 11,
148 MODEL = 12
149};
150
152{
155 RECT = 2,
157};
158
160{
163 RECT = 2, // TODO: valid?
164 OCTAGONAL = 3, // TODO: valid?
166};
167
169{
171 ROUND = 0,
174};
175
182
183enum class ALTIUM_MODE
184{
186 NONE = 0, // TODO: correct ID?
187 RULE = 1,
189};
190
202
204{
205 MANUAL = 0, // only relevant for NAMEAUTOPOSITION and COMMENTAUTOPOSITION
215};
216
218{
220
224};
225
227{
230};
231
233{
234 const bool isRound;
235 const int32_t radius;
236 const double startangle;
237 const double endangle;
240
241 explicit ALTIUM_VERTICE( const VECTOR2I& aPosition )
242 : isRound( false ),
243 radius( 0 ),
244 startangle( 0. ),
245 endangle( 0. ),
246 position( aPosition ),
247 center( VECTOR2I( 0, 0 ) )
248 {
249 }
250
251 explicit ALTIUM_VERTICE( bool aIsRound, int32_t aRadius, double aStartAngle, double aEndAngle,
252 const VECTOR2I aPosition, const VECTOR2I aCenter )
253 : isRound( aIsRound ),
254 radius( aRadius ),
255 startangle( aStartAngle ),
256 endangle( aEndAngle ),
257 position( aPosition ),
258 center( aCenter )
259 {
260 }
261};
262
263
271void altium_parse_polygons( std::map<wxString, wxString>& aProps,
272 std::vector<ALTIUM_VERTICE>& aVertices, int* aDiscarded = nullptr );
273
274
275enum class ALTIUM_LAYER : uint32_t
276{
278
311
318
335
338
355
366
367 // V7 format layers
368 V7_START = 0x01000000,
369
370 V7_COPPER_BASE = 0x01000000,
373
374 V7_MECHANICAL_BASE = 0x01020000,
378
379 // V8 format layers
380 V8_OTHER_BASE = 0x01030000,
402};
403
404// Specifies values from LayerKindMapping
406{
408
411
413 BOARD = 0x04,
414
417
420
423
426
429
433
434 FAB_NOTES = 0x12,
435
438
441
442 VALUE_TOP = 0x17,
443 VALUE_BOT = 0x18,
444
445 V_CUT = 0x19,
446
449
451 SHEET = 0x1D,
453};
454
456
463
479
481{
482 uint32_t layerId = 0;
483 wxString name;
484
485 size_t nextId;
486 size_t prevId;
487
488 int32_t copperthick;
489
494
495 bool mechenabled = false;
497
498 explicit ABOARD6_LAYER_STACKUP( const std::map<wxString, wxString>& aProps, const wxString& aPrefix,
499 uint32_t aLayerIdFallback );
500};
501
503{
505 std::vector<ABOARD6_LAYER_STACKUP> stackup;
506 std::set<wxString> layerNames;
507
508 explicit ALIBRARY( ALTIUM_BINARY_PARSER& aReader );
509};
510
512{
513 // ORIGINX/ORIGINY, the user's relative origin. Distinct from the sheet placement below
515
516 // SHEETX/SHEETY, the drawing sheet corner. Not a design origin
518 wxSize sheetsize;
519
521 std::vector<ABOARD6_LAYER_STACKUP> stackup;
522 std::set<wxString> layerNames;
523
524 std::vector<ALTIUM_VERTICE> board_vertices;
525
526 // Vertices the file placed outside the representable coordinate range
528
529 explicit ABOARD6( ALTIUM_BINARY_PARSER& aReader );
530};
531
533{
534 wxString name;
535 wxString uniqueid;
536
538
539 std::vector<wxString> names;
540
541 explicit ACLASS6( ALTIUM_BINARY_PARSER& aReader );
542};
543
565
599
600struct AMODEL
601{
602 wxString name;
603 wxString id;
605
607 double z_offset;
608 int32_t checksum;
609
610 explicit AMODEL( ALTIUM_BINARY_PARSER& aReader );
611};
612
613struct ANET6
614{
615 wxString name;
616
617 explicit ANET6( ALTIUM_BINARY_PARSER& aReader );
618};
619
621{
625 uint16_t net;
626 bool locked;
627
629
630 int32_t gridsize;
631 int32_t trackwidth;
634
635 // Note: Altium pour index is the opposite of KiCad zone priority!
636 int32_t pourindex;
637
638 std::vector<ALTIUM_VERTICE> vertices;
639
640 // Vertices the file placed outside the representable coordinate range
642
643 explicit APOLYGON6( ALTIUM_BINARY_PARSER& aReader );
644};
645
646
647struct ARULE6
648{
649 wxString name;
650 int priority = 0;
651 bool enabled = true;
652
654
655 wxString scope1expr;
656 wxString scope2expr;
657
658 // ALTIUM_RULE_KIND::CLEARANCE
659 // ALTIUM_RULE_KIND::HOLE_TO_HOLE_CLEARANCE
661
662 // ALTIUM_RULE_KIND::WIDTH
663 // ALTIUM_RULE_KIND::HOLE_SIZE
664 int minLimit = 0;
665 int maxLimit = 0;
666
667 // ALTIUM_RULE_KIND::WIDTH
669
670 // ALTIUM_RULE_KIND::ROUTING_VIAS
671 int width = 0;
672 int minWidth = 0;
673 int maxWidth = 0;
674 int holeWidth = 0;
677
678 // ALTIUM_RULE_KIND::PLANE_CLEARANCE
680
681 // ALTIUM_RULE_KIND::SOLDER_MASK_EXPANSION
683
684 // ALTIUM_RULE_KIND::PASTE_MASK_EXPANSION
686
687 // ALTIUM_RULE_KIND::POLYGON_CONNECT
692
693 // TODO: implement different types of rules we need to parse
694
695 ARULE6() = default;
696 explicit ARULE6( ALTIUM_BINARY_PARSER& aReader );
697};
698
700{
704
706
710 uint16_t net;
711 uint16_t component;
712 uint16_t polygon;
713 uint16_t subpolyindex;
715 uint16_t holecount;
716
717 ALTIUM_REGION_KIND kind; // I assume this means if normal or keepout?
718
719 std::vector<ALTIUM_VERTICE> outline;
720 std::vector<std::vector<ALTIUM_VERTICE>> holes;
721
722 explicit AREGION6( ALTIUM_BINARY_PARSER& aReader, bool aExtendedVertices );
723};
724
749
751{
752 uint16_t component = 0;
753
754 wxString body_name;
755 int kind = 0;
757 int unionindex = 0;
759 bool is_shape_based = false;
765 double body_opacity_3d = 0.0;
766 wxString identifier;
767 wxString texture;
773
774 wxString modelId;
776 bool modelIsEmbedded = false;
777 wxString modelName;
778 int modelType = 0;
779 int modelSource = 0;
781
784 double rotation = 0.0;
785
786 explicit ACOMPONENTBODY6( ALTIUM_BINARY_PARSER& aReader );
787};
788
801
848
849struct AVIA6
850{
851 bool is_locked = false;
852 bool is_tent_top = false;
853 bool is_tent_bottom = false;
854 bool is_test_fab_top = false;
855 bool is_test_fab_bottom = false;
856
857 uint16_t net = 0;
858
860 uint32_t pos_tolerance = 2147483640; // 2147483640 is N/A
861 uint32_t neg_tolerance = 2147483640; // 2147483640 is N/A
862 uint32_t diameter = 0;
863 uint32_t holesize = 0;
864
868
873
874 // When true, the manual solder mask expansion is measured outward from the hole edge rather
875 // than from the via land (copper) edge. Altium "Solder Mask Expansion From The Hole Edge".
877
881
882 // In PAD_MODE::SIMPLE, this is the same as the diameter
883 // In PAD_MODE::TOP_MIDDLE_BOTTOM, layer 0 is top, layer 1 is middle, layer 31 is bottom
884 // In PAD_MODE::FULL_STACK, layers correspond to the layer number
885 uint32_t diameter_by_layer[32]{ 0 };
886
887 explicit AVIA6( ALTIUM_BINARY_PARSER& aReader );
888};
889
912
913// Interactive length-tuning meander, stored in the SmartUnions stream and referenced by
914// copper primitives through their union index. Altium commits the tuned copper as ordinary
915// tracks and arcs, keeping the parametric meander definition here.
917{
918 int unionindex = 0;
919 bool is_tuning = false;
920 bool is_diffpair = false;
921
922 int style = 0;
923 int32_t gap = 0;
924 int32_t amplitude = 0;
925 int32_t minamplitude = 0;
926 double mitterradiusratio = 0.0;
927 bool singleside = false;
928
929 std::vector<VECTOR2I> baseline;
930 std::vector<VECTOR2I> baselinecoupled;
931
932 explicit ASMARTUNION6( ALTIUM_BINARY_PARSER& aReader );
933};
934
935struct ATEXT6
936{
938 {
942 };
943
944
948 uint16_t component = 0;
949
951 uint32_t height = 0;
952 double rotation = 0.0;
953 uint32_t strokewidth = 0;
955
956 bool isBold = false;
957 bool isItalic = false;
958 bool isMirrored = false;
959 bool isInverted = false;
960 bool isInvertedRect = false;
961 bool isFrame = false;
962 bool isOffsetBorder = false;
964
966 uint32_t textbox_rect_width = 0;
968 uint32_t text_offset_width = 0;
969
970 // Justification only applies when there is a text box size specified
971 // Then, the text is justified within the box
973
974 uint32_t widestring_index = 0;
975
976 bool isComment = false;
977 bool isDesignator = false;
978
980 wxString fontname;
982
983 // Barcode specific parameters
986 bool barcode_inverted = false;
987 wxString barcode_name;
988 bool barcode_show_text = false;
989
990 wxString text;
991
992 explicit ATEXT6( ALTIUM_BINARY_PARSER& aReader, std::map<uint32_t, wxString>& aStringTable );
993};
994
1013
1014
1019bool altiumScopeExprMatchesPolygon( const wxString& aExpr );
1020
1021
1031const ARULE6* selectAltiumPolygonRule( const std::vector<ARULE6>& aRulesByPriorityAsc );
1032
1033
1049bool altiumViaSideIsTented( bool aTentFlag, bool aManual, bool aFromHole, uint32_t aHoleSize,
1050 int32_t aMaskExpansion, int aLandDiameter );
1051
1052
1059VECTOR2I altiumSlotDrillSize( uint32_t aHoleSize, uint32_t aSlotSize, double aSlotRotation, bool& aRotationSupported );
1060
1061
1062#endif //ALTIUM_PARSER_PCB_H
bool altiumScopeExprMatchesPolygon(const wxString &aExpr)
Return true if an Altium rule scope expression targets polygon pour primitives (matches InPolygon,...
ALTIUM_REGION_KIND
ALTIUM_PAD_SHAPE_ALT
const uint8_t ALTIUM_KEEPOUT_VIA
ALTIUM_TEXT_POSITION
ALTIUM_CONNECT_STYLE
const uint8_t ALTIUM_KEEPOUT_COPPER
ALTIUM_MECHKIND
ALTIUM_POLYGON_HATCHSTYLE
ALTIUM_PAD_MODE
ALTIUM_UNIT
const uint8_t ALTIUM_KEEPOUT_SMD_PAD
ALTIUM_TEXT_TYPE
ALTIUM_RULE_KIND
ALTIUM_PAD_SHAPE
ALTIUM_BARCODE_TYPE
const uint8_t ALTIUM_KEEPOUT_TH_PAD
ALTIUM_DIMENSION_KIND
VECTOR2I altiumSlotDrillSize(uint32_t aHoleSize, uint32_t aSlotSize, double aSlotRotation, bool &aRotationSupported)
Convert an Altium slot's independent rotation and dimensions to KiCad's cardinal drill shape.
const uint8_t ALTIUM_KEEPOUT_TRACK
void altium_parse_polygons(std::map< wxString, wxString > &aProps, std::vector< ALTIUM_VERTICE > &aVertices, int *aDiscarded=nullptr)
Read the VX/VY/KIND/R/SA/EA/CX/CY vertex series out of a polygon or board outline record.
const ARULE6 * selectAltiumPolygonRule(const std::vector< ARULE6 > &aRulesByPriorityAsc)
Select the highest Altium-priority rule whose scope references polygons.
const uint8_t ALTIUM_KEEPOUT_ALL
ALTIUM_PAD_HOLE_SHAPE
const uint16_t ALTIUM_NET_UNCONNECTED
ALTIUM_CLASS_KIND
const uint16_t ALTIUM_POLYGON_NONE
bool altiumViaSideIsTented(bool aTentFlag, bool aManual, bool aFromHole, uint32_t aHoleSize, int32_t aMaskExpansion, int aLandDiameter)
Decide whether one side of an Altium via should be tented when imported into KiCad.
AEXTENDED_PRIMITIVE_INFORMATION_TYPE
const uint16_t ALTIUM_POLYGON_BOARD
ALTIUM_RECORD
const int ALTIUM_COMPONENT_NONE
Information pertinent to a Pcbnew printed circuit board.
Definition board.h:409
Represent basic circle geometry with utility geometry functions.
Definition circle.h:33
Definition pad.h:61
A round rectangle shape, based on a rectangle and a radius.
Definition roundrect.h:32
@ SOLID
Definition eda_fill.h:43
@ NONE
Definition eda_fill.h:42
@ DIRECT
Unconstrained point-to-point.
@ VERTICAL
A segment (or two points) is vertical.
@ HORIZONTAL
A segment (or two points) is horizontal.
@ MANUAL
Text placement is manually set by the user.
#define MASK(x)
@ VIA
Normal via.
@ INCH
Definition rs274x.cpp:58
double startangle
uint16_t component
uint32_t unionindex
uint32_t width
ALTIUM_LAYER layer
AARC6(ALTIUM_BINARY_PARSER &aReader)
uint8_t keepoutrestrictions
uint16_t polygon
VECTOR2I center
uint32_t radius
uint16_t net
ALTIUM_LAYER layer_v6
ALTIUM_LAYER layer_v7
bool is_polygonoutline
double endangle
uint16_t subpolyindex
ABOARD6_LAYER_STACKUP(const std::map< wxString, wxString > &aProps, const wxString &aPrefix, uint32_t aLayerIdFallback)
VECTOR2I sheetpos
VECTOR2I origin
std::set< wxString > layerNames
ABOARD6(ALTIUM_BINARY_PARSER &aReader)
std::vector< ABOARD6_LAYER_STACKUP > stackup
std::vector< ALTIUM_VERTICE > board_vertices
wxString uniqueid
std::vector< wxString > names
ALTIUM_CLASS_KIND kind
wxString name
ACLASS6(ALTIUM_BINARY_PARSER &aReader)
wxString sourceHierachicalPath
ALTIUM_TEXT_POSITION commentautoposition
ALTIUM_TEXT_POSITION nameautoposition
ACOMPONENT6(ALTIUM_BINARY_PARSER &aReader)
wxString sourcefootprintlibrary
ALTIUM_LAYER layer
wxString sourcelibreference
wxString sourcedesignator
wxString sourceUniqueID
wxString sourcecomponentlibrary
ACOMPONENTBODY6(ALTIUM_BINARY_PARSER &aReader)
ALTIUM_UNIT textunit
uint32_t textlinewidth
ALTIUM_LAYER layer
ALTIUM_LAYER layer_v6
std::vector< VECTOR2I > textPoint
ALTIUM_DIMENSION_KIND kind
ALTIUM_LAYER layer_v7
ADIMENSION6(ALTIUM_BINARY_PARSER &aReader)
std::vector< VECTOR2I > referencePoint
AEXTENDED_PRIMITIVE_INFORMATION_TYPE type
AEXTENDED_PRIMITIVE_INFORMATION(ALTIUM_BINARY_PARSER &aReader)
VECTOR2I pos2
ALTIUM_LAYER layer
VECTOR2I pos1
uint8_t keepoutrestrictions
AFILL6(ALTIUM_BINARY_PARSER &aReader)
ALTIUM_LAYER layer_v6
uint16_t component
ALTIUM_LAYER layer_v7
std::set< wxString > layerNames
std::vector< ABOARD6_LAYER_STACKUP > stackup
ALIBRARY(ALTIUM_BINARY_PARSER &aReader)
ALTIUM_VERTICE(const VECTOR2I &aPosition)
const int32_t radius
const VECTOR2I center
const VECTOR2I position
const double endangle
const double startangle
ALTIUM_VERTICE(bool aIsRound, int32_t aRadius, double aStartAngle, double aEndAngle, const VECTOR2I aPosition, const VECTOR2I aCenter)
double z_offset
wxString id
int32_t checksum
wxString name
VECTOR3D rotation
AMODEL(ALTIUM_BINARY_PARSER &aReader)
ANET6(ALTIUM_BINARY_PARSER &aReader)
wxString name
ALTIUM_PAD_SHAPE inner_shape[29]
ALTIUM_PAD_HOLE_SHAPE holeshape
ALTIUM_PAD_SHAPE_ALT alt_shape[32]
double holerotation
int32_t soldermaskexpansionmanual
uint16_t net
ALTIUM_LAYER layer
APAD6(ALTIUM_BINARY_PARSER &aReader)
std::unique_ptr< APAD6_SIZE_AND_SHAPE > sizeAndShape
ALTIUM_LAYER layer_v7
ALTIUM_LAYER tolayer
ALTIUM_PAD_SHAPE topshape
ALTIUM_LAYER layer_v6
ALTIUM_PAD_MODE padmode
ALTIUM_MODE pastemaskexpansionmode
uint32_t holesize
double direction
ALTIUM_MODE soldermaskexpansionmode
wxString name
bool is_test_fab_bottom
int32_t pad_to_die_delay
bool is_tent_bottom
VECTOR2I botsize
ALTIUM_PAD_SHAPE botshape
uint16_t component
VECTOR2I midsize
ALTIUM_PAD_SHAPE midshape
int32_t pastemaskexpansionmanual
ALTIUM_LAYER fromlayer
VECTOR2I position
VECTOR2I topsize
bool is_test_fab_top
int32_t pad_to_die_length
ALTIUM_LAYER layer_v6
int32_t minprimlength
std::vector< ALTIUM_VERTICE > vertices
APOLYGON6(ALTIUM_BINARY_PARSER &aReader)
ALTIUM_LAYER layer_v7
ALTIUM_POLYGON_HATCHSTYLE hatchstyle
ALTIUM_LAYER layer
uint8_t keepoutrestrictions
ALTIUM_LAYER layer
AREGION6(ALTIUM_BINARY_PARSER &aReader, bool aExtendedVertices)
ALTIUM_LAYER layer_v7
uint16_t holecount
ALTIUM_LAYER layer_v6
std::vector< ALTIUM_VERTICE > outline
uint16_t subpolyindex
std::vector< std::vector< ALTIUM_VERTICE > > holes
uint16_t component
uint16_t polygon
ALTIUM_REGION_KIND kind
ALTIUM_RULE_KIND kind
ALTIUM_CONNECT_STYLE polygonconnectStyle
wxString scope1expr
wxString name
int planeclearanceClearance
int32_t polygonconnectReliefconductorwidth
int pastemaskExpansion
ARULE6()=default
wxString scope2expr
int soldermaskExpansion
int32_t polygonconnectAirgapwidth
int polygonconnectReliefentries
std::vector< VECTOR2I > baselinecoupled
std::vector< VECTOR2I > baseline
ASMARTUNION6(ALTIUM_BINARY_PARSER &aReader)
uint32_t text_offset_width
VECTOR2I barcode_margin
uint32_t textbox_rect_height
uint16_t component
bool barcode_show_text
ALTIUM_LAYER layer_v6
ALTIUM_TEXT_POSITION textbox_rect_justification
bool isInvertedRect
wxString text
uint32_t widestring_index
uint32_t textbox_rect_width
double rotation
uint32_t margin_border_width
uint32_t height
wxString fontname
bool isJustificationValid
ALTIUM_BARCODE_TYPE barcode_type
ALTIUM_LAYER layer
VECTOR2I position
ALTIUM_LAYER layer_v7
ALTIUM_TEXT_TYPE fonttype
STROKE_FONT_TYPE strokefonttype
wxString barcode_fontname
bool isOffsetBorder
ATEXT6(ALTIUM_BINARY_PARSER &aReader, std::map< uint32_t, wxString > &aStringTable)
bool barcode_inverted
wxString barcode_name
uint32_t strokewidth
ALTIUM_LAYER layer_v6
uint32_t unionindex
ATRACK6(ALTIUM_BINARY_PARSER &aReader)
uint32_t width
bool is_polygonoutline
ALTIUM_LAYER layer_v7
uint16_t polygon
uint16_t subpolyindex
uint8_t keepoutrestrictions
VECTOR2I start
ALTIUM_LAYER layer
uint16_t component
bool soldermask_expansion_linked
uint32_t thermal_relief_conductorcount
uint32_t diameter
uint32_t neg_tolerance
uint16_t net
VECTOR2I position
int32_t thermal_relief_airgap
bool is_test_fab_top
bool soldermask_expansion_from_hole
int32_t soldermask_expansion_front
uint32_t pos_tolerance
bool is_tent_bottom
bool is_test_fab_bottom
bool soldermask_expansion_manual
ALTIUM_PAD_MODE viamode
AVIA6(ALTIUM_BINARY_PARSER &aReader)
uint32_t thermal_relief_conductorwidth
int32_t soldermask_expansion_back
uint32_t diameter_by_layer[32]
ALTIUM_LAYER layer_start
ALTIUM_LAYER layer_end
uint32_t holesize
static const long long MM
VECTOR2< int32_t > VECTOR2I
Definition vector2d.h:683
VECTOR3< double > VECTOR3D
Definition vector3.h:230