KiCad PCB EDA Suite
Loading...
Searching...
No Matches
sch_line.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) 2009 Jean-Pierre Charras, [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 _SCH_LINE_H_
22#define _SCH_LINE_H_
23
24#include <sch_item.h>
25#include <wx/pen.h> // for wxPenStyle
26#include <list> // for std::list
27#include <geometry/seg.h>
28#include <math/vector3.h>
29
30class NETLIST_OBJECT_LIST;
31
32
37class SCH_LINE : public SCH_ITEM
38{
39public:
40 static const enum wxPenStyle PenStyle[];
41
42 SCH_LINE( const VECTOR2I& pos = VECTOR2I( 0, 0 ), int layer = LAYER_NOTES );
43
44 SCH_LINE( const VECTOR2D& pos, int layer = LAYER_NOTES ) :
45 SCH_LINE( VECTOR2I( pos.x, pos.y ), layer )
46 {}
47
48 SCH_LINE( const SCH_LINE& aLine );
49
51
52 void Serialize( google::protobuf::Any &aContainer ) const override;
53 bool Deserialize( const google::protobuf::Any &aContainer ) override;
54
55 static inline bool ClassOf( const EDA_ITEM* aItem )
56 {
57 return aItem && SCH_LINE_T == aItem->Type();
58 }
59
60 wxString GetClass() const override
61 {
62 return wxT( "SCH_LINE" );
63 }
64
65 wxString GetFriendlyName() const override;
66
67 bool IsType( const std::vector<KICAD_T>& aScanTypes ) const override
68 {
69 if( SCH_ITEM::IsType( aScanTypes ) )
70 return true;
71
72 for( KICAD_T scanType : aScanTypes )
73 {
74 if( scanType == SCH_ITEM_LOCATE_WIRE_T && m_layer == LAYER_WIRE )
75 return true;
76
77 if ( scanType == SCH_ITEM_LOCATE_BUS_T && m_layer == LAYER_BUS )
78 return true;
79
81 return true;
82 }
83
84 return false;
85 }
86
87 bool IsEndPoint( const VECTOR2I& aPoint ) const override
88 {
89 return aPoint == m_start || aPoint == m_end;
90 }
91
92 int GetAngleFrom( const VECTOR2I& aPoint ) const;
93 int GetReverseAngleFrom( const VECTOR2I& aPoint ) const;
94
100 inline EDA_ANGLE Angle() const
101 {
102 return ( EDA_ANGLE( (VECTOR2I) m_end - (VECTOR2I) m_start ) );
103 }
104
111 inline void StoreAngle()
112 {
113 if( !IsNull() )
115 }
116
117 inline void StoreAngle( const EDA_ANGLE& aAngle ) { m_storedAngle = aAngle; }
118
124 inline EDA_ANGLE GetStoredAngle() const { return m_storedAngle; }
125
131 inline bool IsOrthogonal() const { return Angle().IsCardinal(); }
132
133 bool IsNull() const { return m_start == m_end; }
134
135 VECTOR2I GetStartPoint() const { return m_start; }
136 void SetStartPoint( const VECTOR2I& aPosition ) { m_start = aPosition; }
137 int GetStartX() const { return m_start.x; }
138 void SetStartX( int aX ) { SetStartPoint( VECTOR2I( aX, m_start.y ) ); }
139 int GetStartY() const { return m_start.y; }
140 void SetStartY( int aY ) { SetStartPoint( VECTOR2I( m_start.x, aY ) ); }
141
142 VECTOR2I GetMidPoint() const { return ( m_start + m_end ) / 2; }
143
144 VECTOR2I GetEndPoint() const { return m_end; }
145 void SetEndPoint( const VECTOR2I& aPosition ) { m_end = aPosition; }
146 int GetEndX() const { return m_end.x; }
147 void SetEndX( int aX ) { SetEndPoint( VECTOR2I( aX, m_end.y ) ); }
148 int GetEndY() const { return m_end.y; }
149 void SetEndY( int aY ) { SetEndPoint( VECTOR2I( m_end.x, aY ) ); }
150
154 SEG GetSeg() const
155 {
156 return SEG{ m_start, m_end };
157 }
158
159 void SetLastResolvedState( const SCH_ITEM* aItem ) override
160 {
161 const SCH_LINE* aLine = dynamic_cast<const SCH_LINE*>( aItem );
162
163 if( aLine )
164 {
165 m_stroke = aLine->GetStroke();
169 }
170 }
171
172 void SetLineStyle( const LINE_STYLE aStyle );
173 LINE_STYLE GetLineStyle() const;
174
178
179 // Special Getter/Setters for properties panel. Required because it uses #WIRE_STYLE instead
180 // of #LINE_STYLE. (The two enums are identical, but we expose "default" in the #WIRE_STYLE
181 // property while we don't with the LINE_STYLE property.)
182 void SetWireStyle( const WIRE_STYLE aStyle ) { SetLineStyle( (LINE_STYLE) aStyle ); }
184
185
186 void SetLineColor( const COLOR4D& aColor );
187
188 void SetLineColor( const double r, const double g, const double b, const double a );
189
191 COLOR4D GetLineColor() const;
192
193 void SetLineWidth( const int aSize );
194 int GetLineWidth() const { return m_stroke.GetWidth(); }
195
196 virtual bool HasLineStroke() const override { return true; }
197 virtual STROKE_PARAMS GetStroke() const override { return m_stroke; }
198 virtual void SetStroke( const STROKE_PARAMS& aStroke ) override { m_stroke = aStroke; }
199
200 bool IsStrokeEquivalent( const SCH_LINE* aLine )
201 {
202 if( m_stroke.GetWidth() != aLine->GetStroke().GetWidth() )
203 return false;
204
205 if( m_stroke.GetColor() != aLine->GetStroke().GetColor() )
206 return false;
207
208 LINE_STYLE style_a = m_stroke.GetLineStyle();
209 LINE_STYLE style_b = aLine->GetStroke().GetLineStyle();
210
211 return style_a == style_b
212 || ( style_a == LINE_STYLE::DEFAULT && style_b == LINE_STYLE::SOLID )
213 || ( style_a == LINE_STYLE::SOLID && style_b == LINE_STYLE::DEFAULT );
214 }
215
216 std::vector<int> ViewGetLayers() const override;
217
218 double ViewGetLOD( int aLayer, const KIGFX::VIEW* aView ) const override;
219
220 const BOX2I GetBoundingBox() const override;
221
225 double GetLength() const;
226 void SetLength( double aLength );
227
228 int GetPenWidth() const override;
229
230 void Move( const VECTOR2I& aMoveVector ) override;
231 void MoveStart( const VECTOR2I& aMoveVector );
232 void MoveEnd( const VECTOR2I& aMoveVector );
233
234 void MirrorVertically( int aCenter ) override;
235 void MirrorHorizontally( int aCenter ) override;
236 void Rotate( const VECTOR2I& aCenter, bool aRotateCCW ) override;
237
251 SCH_LINE* MergeOverlap( SCH_SCREEN* aScreen, SCH_LINE* aLine, bool aCheckJunctions );
252
265 SCH_LINE* BreakAt( SCH_COMMIT* aCommit, const VECTOR2I& aPoint );
266
271 SCH_LINE* NonGroupAware_BreakAt( const VECTOR2I& aPoint );
272
273 bool IsParallel( const SCH_LINE* aLine ) const;
274
280 bool ShouldHopOver( const SCH_LINE* aLine ) const;
281
291 std::vector<VECTOR3I> BuildWireWithHopShape( const SCH_SCREEN* aScreen, double aArcRadius ) const;
292
293 void GetEndPoints( std::vector<DANGLING_END_ITEM>& aItemList ) override;
294
295 bool UpdateDanglingState( std::vector<DANGLING_END_ITEM>& aItemListByType,
296 std::vector<DANGLING_END_ITEM>& aItemListByPos,
297 const SCH_SHEET_PATH* aPath = nullptr ) override;
298
299 bool IsStartDangling() const { return m_startIsDangling; }
300 bool IsEndDangling() const { return m_endIsDangling; }
301 bool IsDangling() const override { return m_startIsDangling || m_endIsDangling; }
302
303 bool IsConnectable() const override;
304
305 bool HasConnectivityChanges( const SCH_ITEM* aItem,
306 const SCH_SHEET_PATH* aInstance = nullptr ) const override;
307
308 std::vector<VECTOR2I> GetConnectionPoints() const override;
309
310 bool ConnectionPropagatesTo( const EDA_ITEM* aItem ) const override;
311
312 void GetSelectedPoints( std::vector<VECTOR2I>& aPoints ) const;
313
314 bool CanConnect( const SCH_ITEM* aItem ) const override;
315
316 wxString GetItemDescription( UNITS_PROVIDER* aUnitsProvider, bool aFull ) const override;
317
318 BITMAPS GetMenuImage() const override;
319
320 bool operator <( const SCH_ITEM& aItem ) const override;
321
322 VECTOR2I GetPosition() const override { return m_start; }
323 void SetPosition( const VECTOR2I& aPosition ) override;
324 VECTOR2I GetSortPosition() const override { return GetMidPoint(); }
325
326 bool IsPointClickableAnchor( const VECTOR2I& aPos ) const override
327 {
328 return ( GetStartPoint() == aPos && IsStartDangling() )
329 || ( GetEndPoint() == aPos && IsEndDangling() );
330 }
331
332 bool HitTest( const VECTOR2I& aPosition, int aAccuracy = 0 ) const override;
333 bool HitTest( const BOX2I& aRect, bool aContained, int aAccuracy = 0 ) const override;
334 bool HitTest( const SHAPE_LINE_CHAIN& aPoly, bool aContained ) const override;
335
336 void Plot( PLOTTER* aPlotter, bool aBackground, const SCH_PLOT_OPTS& aPlotOpts,
337 int aUnit, int aBodyStyle, const VECTOR2I& aOffset, bool aDimmed ) override;
338
339 EDA_ITEM* Clone() const override;
340
341 void GetMsgPanelInfo( EDA_DRAW_FRAME* aFrame, std::vector<MSG_PANEL_ITEM>& aList ) override;
342
343 const wxString& GetOperatingPoint() const { return m_operatingPoint; }
344 void SetOperatingPoint( const wxString& aText ) { m_operatingPoint = aText; }
345
346#if defined(DEBUG)
347 void Show( int nestLevel, std::ostream& os ) const override;
348#endif
349
355 bool IsGraphicLine() const;
356
362 bool IsWire() const;
363
369 bool IsBus() const;
370
371 double Similarity( const SCH_ITEM& aOther ) const override;
372
373 bool operator==( const SCH_ITEM& aOther ) const override;
374
375protected:
376 void swapData( SCH_ITEM* aItem ) override;
377
378private:
379 bool doIsConnected( const VECTOR2I& aPosition ) const override;
380
381private:
388
389 // If real-time connectivity gets disabled (due to being too slow on a particular
390 // design), we can no longer rely on getting the NetClass to find netclass-specific
391 // linestyles, linewidths and colors.
395
397};
398
399
401
402
403#endif // _SCH_LINE_H_
BITMAPS
A list of all bitmap identifiers.
BOX2< VECTOR2I > BOX2I
Definition box2.h:918
bool IsCardinal() const
Definition eda_angle.cpp:40
The base class for create windows for drawing purpose.
A base class for most all the KiCad significant classes used in schematics and boards.
Definition eda_item.h:96
KICAD_T Type() const
Returns the type of object.
Definition eda_item.h:108
EDA_ITEM(EDA_ITEM *parent, KICAD_T idType, bool isSCH_ITEM=false, bool isBOARD_ITEM=false)
Definition eda_item.cpp:37
A color representation with 4 components: red, green, blue, alpha.
Definition color4d.h:101
Hold a (potentially large) number of VIEW_ITEMs and renders them on a graphics device provided by the...
Definition view.h:63
Base plotter engine class.
Definition plotter.h:133
Base class for any item which can be embedded within the SCHEMATIC container class,...
Definition sch_item.h:162
SCH_ITEM(EDA_ITEM *aParent, KICAD_T aType, int aUnit=0, int aBodyStyle=0)
Definition sch_item.cpp:52
SCH_LAYER_ID m_layer
Definition sch_item.h:775
bool IsType(const std::vector< KICAD_T > &aScanTypes) const override
Check whether the item is one of the listed types.
Definition sch_item.h:177
Segment description base class to describe items which have 2 end points (track, wire,...
Definition sch_line.h:38
int GetPenWidth() const override
Definition sch_line.cpp:392
void SetStartY(int aY)
Definition sch_line.h:140
bool doIsConnected(const VECTOR2I &aPosition) const override
Provide the object specific test to see if it is connected to aPosition.
Definition sch_line.cpp:909
int GetEndY() const
Definition sch_line.h:148
void GetEndPoints(std::vector< DANGLING_END_ITEM > &aItemList) override
Add the schematic item end points to aItemList if the item has end points.
Definition sch_line.cpp:640
void SetStartPoint(const VECTOR2I &aPosition)
Definition sch_line.h:136
EDA_ITEM * Clone() const override
Create a duplicate of this item with linked list members set to NULL.
Definition sch_line.cpp:198
BITMAPS GetMenuImage() const override
Return a pointer to an image to be used in menus.
Definition sch_line.cpp:821
bool UpdateDanglingState(std::vector< DANGLING_END_ITEM > &aItemListByType, std::vector< DANGLING_END_ITEM > &aItemListByPos, const SCH_SHEET_PATH *aPath=nullptr) override
Test the schematic item to aItemList to check if it's dangling state has changed.
Definition sch_line.cpp:650
void SetOperatingPoint(const wxString &aText)
Definition sch_line.h:344
bool m_startIsDangling
True if start point is not connected.
Definition sch_line.h:382
bool HitTest(const VECTOR2I &aPosition, int aAccuracy=0) const override
Test if aPosition is inside or on the boundary of this item.
Definition sch_line.cpp:855
bool IsPointClickableAnchor(const VECTOR2I &aPos) const override
Definition sch_line.h:326
void SetPosition(const VECTOR2I &aPosition) override
Definition sch_line.cpp:979
void StoreAngle()
Save the current line angle.
Definition sch_line.h:111
std::vector< VECTOR3I > BuildWireWithHopShape(const SCH_SCREEN *aScreen, double aArcRadius) const
For wires only: build the list of points to draw the shape using segments and 180 deg arcs Points are...
int GetStartX() const
Definition sch_line.h:137
SCH_LINE * NonGroupAware_BreakAt(const VECTOR2I &aPoint)
This version should only be used when importing files.
Definition sch_line.cpp:628
std::vector< VECTOR2I > GetConnectionPoints() const override
Add all the connection points for this item to aPoints.
Definition sch_line.cpp:755
int GetReverseAngleFrom(const VECTOR2I &aPoint) const
Definition sch_line.cpp:469
SCH_LINE(const VECTOR2I &pos=VECTOR2I(0, 0), int layer=LAYER_NOTES)
Definition sch_line.cpp:48
virtual bool HasLineStroke() const override
Check if this schematic item has line stoke properties.
Definition sch_line.h:196
bool IsWire() const
Return true if the line is a wire.
bool IsStartDangling() const
Definition sch_line.h:299
SCH_LINE(const VECTOR2D &pos, int layer=LAYER_NOTES)
Definition sch_line.h:44
const BOX2I GetBoundingBox() const override
Return the orthogonal bounding box of this object for display purposes.
Definition sch_line.cpp:272
void SetWireStyle(const WIRE_STYLE aStyle)
Definition sch_line.h:182
void SetLineColor(const COLOR4D &aColor)
Definition sch_line.cpp:319
bool CanConnect(const SCH_ITEM *aItem) const override
Definition sch_line.cpp:712
EDA_ANGLE GetStoredAngle() const
Return the angle stored by StoreAngle().
Definition sch_line.h:124
bool IsParallel(const SCH_LINE *aLine) const
Definition sch_line.cpp:482
int GetStartY() const
Definition sch_line.h:139
void SetLineWidth(const int aSize)
Definition sch_line.cpp:385
bool ShouldHopOver(const SCH_LINE *aLine) const
For wires only:
void MirrorHorizontally(int aCenter) override
Mirror item horizontally about aCenter.
Definition sch_line.cpp:436
virtual STROKE_PARAMS GetStroke() const override
Definition sch_line.h:197
int GetAngleFrom(const VECTOR2I &aPoint) const
Definition sch_line.cpp:456
void GetSelectedPoints(std::vector< VECTOR2I > &aPoints) const
Definition sch_line.cpp:774
COLOR4D m_lastResolvedColor
Definition sch_line.h:394
LINE_STYLE GetEffectiveLineStyle() const
Definition sch_line.cpp:372
void GetMsgPanelInfo(EDA_DRAW_FRAME *aFrame, std::vector< MSG_PANEL_ITEM > &aList) override
Populate aList of MSG_PANEL_ITEM objects with it's internal state for display purposes.
Definition sch_line.cpp:986
EDA_ANGLE Angle() const
Get the angle between the start and end lines.
Definition sch_line.h:100
void Plot(PLOTTER *aPlotter, bool aBackground, const SCH_PLOT_OPTS &aPlotOpts, int aUnit, int aBodyStyle, const VECTOR2I &aOffset, bool aDimmed) override
Plot the item to aPlotter.
Definition sch_line.cpp:918
wxString m_operatingPoint
Definition sch_line.h:396
void SetLength(double aLength)
Definition sch_line.cpp:294
wxString GetClass() const override
Return the class name.
Definition sch_line.h:60
static bool ClassOf(const EDA_ITEM *aItem)
Definition sch_line.h:55
void Rotate(const VECTOR2I &aCenter, bool aRotateCCW) override
Rotate the item around aCenter 90 degrees in the clockwise direction.
Definition sch_line.cpp:446
VECTOR2I GetMidPoint() const
Definition sch_line.h:142
VECTOR2I GetEndPoint() const
Definition sch_line.h:144
VECTOR2I GetStartPoint() const
Definition sch_line.h:135
bool ConnectionPropagatesTo(const EDA_ITEM *aItem) const override
Return true if this item should propagate connection info to aItem.
Definition sch_line.cpp:761
LINE_STYLE m_lastResolvedLineStyle
Definition sch_line.h:392
VECTOR2I GetPosition() const override
Definition sch_line.h:322
SEG GetSeg() const
Get the geometric aspect of the wire as a SEG.
Definition sch_line.h:154
bool IsEndDangling() const
Definition sch_line.h:300
SCH_LINE * MergeOverlap(SCH_SCREEN *aScreen, SCH_LINE *aLine, bool aCheckJunctions)
Check line against aLine to see if it overlaps and merge if it does.
Definition sch_line.cpp:495
void SetEndY(int aY)
Definition sch_line.h:149
VECTOR2I m_start
Line start point.
Definition sch_line.h:384
bool IsBus() const
Return true if the line is a bus.
int m_lastResolvedWidth
Definition sch_line.h:393
void StoreAngle(const EDA_ANGLE &aAngle)
Definition sch_line.h:117
bool HasConnectivityChanges(const SCH_ITEM *aItem, const SCH_SHEET_PATH *aInstance=nullptr) const override
Check if aItem has connectivity changes against this object.
Definition sch_line.cpp:736
void Serialize(google::protobuf::Any &aContainer) const override
Serializes this object to the given Any message.
Definition sch_line.cpp:104
void SetLineStyle(const LINE_STYLE aStyle)
Definition sch_line.cpp:356
VECTOR2I m_end
Line end point.
Definition sch_line.h:385
void Move(const VECTOR2I &aMoveVector) override
Move the item by aMoveVector to a new position.
Definition sch_line.cpp:204
int GetEndX() const
Definition sch_line.h:146
LINE_STYLE GetLineStyle() const
Definition sch_line.cpp:363
bool IsNull() const
Definition sch_line.h:133
void MoveEnd(const VECTOR2I &aMoveVector)
Definition sch_line.cpp:217
VECTOR2I GetSortPosition() const override
Return the coordinates that should be used for sorting this element visually compared to other elemen...
Definition sch_line.h:324
STROKE_PARAMS m_stroke
Line stroke properties.
Definition sch_line.h:387
EDA_ANGLE m_storedAngle
Stored angle.
Definition sch_line.h:386
SCH_LINE * BreakAt(SCH_COMMIT *aCommit, const VECTOR2I &aPoint)
Break this segment into two at the specified point.
Definition sch_line.cpp:616
bool m_endIsDangling
True if end point is not connected.
Definition sch_line.h:383
bool IsConnectable() const override
Definition sch_line.cpp:703
wxString GetFriendlyName() const override
Definition sch_line.cpp:187
double ViewGetLOD(int aLayer, const KIGFX::VIEW *aView) const override
Return the level of detail (LOD) of the item.
Definition sch_line.cpp:250
void MirrorVertically(int aCenter) override
Mirror item vertically about aCenter.
Definition sch_line.cpp:426
bool operator==(const SCH_ITEM &aOther) const override
bool operator<(const SCH_ITEM &aItem) const override
Definition sch_line.cpp:832
virtual void SetStroke(const STROKE_PARAMS &aStroke) override
Definition sch_line.h:198
bool IsStrokeEquivalent(const SCH_LINE *aLine)
Definition sch_line.h:200
WIRE_STYLE GetWireStyle() const
Definition sch_line.h:183
void SetLastResolvedState(const SCH_ITEM *aItem) override
Definition sch_line.h:159
wxString GetItemDescription(UNITS_PROVIDER *aUnitsProvider, bool aFull) const override
Return a user-visible description string of this item.
Definition sch_line.cpp:784
bool IsEndPoint(const VECTOR2I &aPoint) const override
Test if aPt is an end point of this schematic object.
Definition sch_line.h:87
bool IsGraphicLine() const
Return if the line is a graphic (non electrical line)
static enum wxPenStyle PenStyle[]
Definition sch_line.h:40
int GetLineWidth() const
Definition sch_line.h:194
COLOR4D GetLineColor() const
Return COLOR4D::UNSPECIFIED if a custom color hasn't been set for this line.
Definition sch_line.cpp:343
std::vector< int > ViewGetLayers() const override
Return the layers the item is drawn on (which may be more than its "home" layer)
Definition sch_line.cpp:240
void MoveStart(const VECTOR2I &aMoveVector)
Definition sch_line.cpp:211
bool Deserialize(const google::protobuf::Any &aContainer) override
Deserializes the given protobuf message into this object.
Definition sch_line.cpp:145
double GetLength() const
Definition sch_line.cpp:288
void SetEndX(int aX)
Definition sch_line.h:147
~SCH_LINE()
Definition sch_line.h:50
bool IsOrthogonal() const
Check if line is orthogonal (to the grid).
Definition sch_line.h:131
void SetEndPoint(const VECTOR2I &aPosition)
Definition sch_line.h:145
void SetStartX(int aX)
Definition sch_line.h:138
bool IsType(const std::vector< KICAD_T > &aScanTypes) const override
Check whether the item is one of the listed types.
Definition sch_line.h:67
bool IsDangling() const override
Definition sch_line.h:301
const wxString & GetOperatingPoint() const
Definition sch_line.h:343
double Similarity(const SCH_ITEM &aOther) const override
Return a measure of how likely the other object is to represent the same object.
void swapData(SCH_ITEM *aItem) override
Swap the internal data structures aItem with the schematic item.
Definition sch_line.cpp:897
Handle access to a stack of flattened SCH_SHEET objects by way of a path for creating a flattened sch...
Definition seg.h:38
Represent a polyline containing arcs as well as line segments: A chain of connected line and/or arc s...
Simple container to manage line stroke parameters.
int GetWidth() const
LINE_STYLE GetLineStyle() const
KIGFX::COLOR4D GetColor() const
@ LAYER_WIRE
Definition layer_ids.h:450
@ LAYER_NOTES
Definition layer_ids.h:465
@ LAYER_BUS
Definition layer_ids.h:451
#define DECLARE_ENUM_TO_WXANY(type)
Definition property.h:789
LINE_STYLE
Dashed line types.
WIRE_STYLE
KICAD_T
The set of class identification values stored in EDA_ITEM::m_structType.
Definition typeinfo.h:71
@ SCH_LINE_T
Definition typeinfo.h:160
@ SCH_ITEM_LOCATE_WIRE_T
Definition typeinfo.h:183
@ SCH_ITEM_LOCATE_BUS_T
Definition typeinfo.h:184
@ SCH_ITEM_LOCATE_GRAPHIC_LINE_T
Definition typeinfo.h:185
VECTOR2< int32_t > VECTOR2I
Definition vector2d.h:683
VECTOR2< double > VECTOR2D
Definition vector2d.h:682