| 
    KiCad PCB EDA Suite
    
   | 
 
#include <grid_helper.h>
  
Classes | |
| struct | ANCHOR | 
Public Types | |
| enum | ANCHOR_FLAGS {  CORNER = 1 , OUTLINE = 2 , SNAPPABLE = 4 , ORIGIN = 8 , VERTICAL = 16 , HORIZONTAL = 32 , CONSTRUCTED = 64 , ALL = CORNER | OUTLINE | SNAPPABLE | ORIGIN | VERTICAL | HORIZONTAL | CONSTRUCTED }  | 
Public Member Functions | |
| GRID_HELPER () | |
| GRID_HELPER (TOOL_MANAGER *aToolMgr, int aConstructionLayer) | |
| virtual | ~GRID_HELPER () | 
| VECTOR2I | GetGrid () const | 
| VECTOR2D | GetVisibleGrid () const | 
| VECTOR2I | GetOrigin () const | 
| void | SetGridSize (const VECTOR2D &aGrid) | 
| void | SetVisibleGridSize (const VECTOR2D &aGrid) | 
| void | SetOrigin (const VECTOR2I &aOrigin) | 
| void | SetGridSnapping (bool aEnable) | 
| void | SetAuxAxes (bool aEnable, const VECTOR2I &aOrigin=VECTOR2I(0, 0)) | 
| virtual VECTOR2I | Align (const VECTOR2I &aPoint, GRID_HELPER_GRIDS aGrid) const | 
| virtual VECTOR2I | AlignGrid (const VECTOR2I &aPoint, GRID_HELPER_GRIDS aGrid) const | 
| virtual VECTOR2I | Align (const VECTOR2I &aPoint) const | 
| virtual VECTOR2I | Align (const VECTOR2I &aPoint, const VECTOR2D &aGrid, const VECTOR2D &aOffset) const | 
| VECTOR2I | AlignGrid (const VECTOR2I &aPoint) const | 
| VECTOR2I | AlignGrid (const VECTOR2I &aPoint, const VECTOR2D &aGrid, const VECTOR2D &aOffset) const | 
| virtual GRID_HELPER_GRIDS | GetSelectionGrid (const SELECTION &aSelection) const | 
| Gets the coarsest grid that applies to a selecion of items.   | |
| virtual GRID_HELPER_GRIDS | GetItemGrid (const EDA_ITEM *aItem) const | 
| Get the coarsest grid that applies to an item.   | |
| virtual VECTOR2D | GetGridSize (GRID_HELPER_GRIDS aGrid) const | 
| Return the size of the specified grid.   | |
| void | SetSkipPoint (const VECTOR2I &aPoint) | 
| void | ClearSkipPoint () | 
| Clear the skip point by setting it to an unreachable position, thereby preventing matching.   | |
| void | SetSnap (bool aSnap) | 
| bool | GetSnap () const | 
| void | SetUseGrid (bool aSnapToGrid) | 
| bool | GetUseGrid () const | 
| void | SetSnapLine (bool aSnap) | 
| void | SetSnapLineDirections (const std::vector< VECTOR2I > &aDirections) | 
| void | SetSnapLineOrigin (const VECTOR2I &aOrigin) | 
| void | SetSnapLineEnd (const std::optional< VECTOR2I > &aEnd) | 
| void | ClearSnapLine () | 
| std::optional< VECTOR2I > | SnapToConstructionLines (const VECTOR2I &aPoint, const VECTOR2I &aNearestGrid, const VECTOR2D &aGrid, double aSnapRange) const | 
| void | SetMask (int aMask) | 
| void | SetMaskFlag (int aFlag) | 
| void | ClearMaskFlag (int aFlag) | 
| std::optional< VECTOR2I > | GetSnappedPoint () const | 
Protected Member Functions | |
| void | addAnchor (const VECTOR2I &aPos, int aFlags, EDA_ITEM *aItem, int aPointTypes=POINT_TYPE::PT_NONE) | 
| void | addAnchor (const VECTOR2I &aPos, int aFlags, std::vector< EDA_ITEM * > aItems, int aPointTypes) | 
| void | clearAnchors () | 
| bool | canUseGrid () const | 
| Check whether it is possible to use the grid – this depends both on local grid helper settings and global (tool manager) KiCad settings.   | |
| VECTOR2I | computeNearest (const VECTOR2I &aPoint, const VECTOR2I &aGrid, const VECTOR2I &aOffset) const | 
| void | showConstructionGeometry (bool aShow) | 
| SNAP_MANAGER & | getSnapManager () | 
| void | updateSnapPoint (const TYPED_POINT2I &aPoint) | 
| KIGFX::ANCHOR_DEBUG * | enableAndGetAnchorDebug () | 
| Enable the anchor debug if permitted and return it.   | |
Protected Attributes | |
| std::vector< ANCHOR > | m_anchors | 
| TOOL_MANAGER * | m_toolMgr | 
| std::optional< VECTOR2I > | m_auxAxis | 
| int | m_maskTypes | 
| bool | m_enableSnap | 
| bool | m_enableGrid | 
| bool | m_enableSnapLine | 
| std::optional< ANCHOR > | m_snapItem | 
| VECTOR2I | m_skipPoint | 
| KIGFX::SNAP_INDICATOR | m_viewSnapPoint | 
| KIGFX::ORIGIN_VIEWITEM | m_viewAxis | 
| VECTOR2D | m_manualGrid | 
| VECTOR2D | m_manualVisibleGrid | 
| VECTOR2I | m_manualOrigin | 
| bool | m_manualGridSnapping | 
Private Attributes | |
| KIGFX::CONSTRUCTION_GEOM | m_constructionGeomPreview | 
| Show construction geometry (if any) on the canvas.   | |
| SNAP_MANAGER | m_snapManager | 
| Manage the construction geometry, snap lines, reference points, etc.   | |
| std::unique_ptr< KIGFX::ANCHOR_DEBUG > | m_anchorDebug | 
| #VIEW_ITEM for visualising anchor points, if enabled.   | |
Friends | |
| void | TEST_CLEAR_ANCHORS (GRID_HELPER &helper) | 
Definition at line 55 of file grid_helper.h.
| Enumerator | |
|---|---|
| CORNER | |
| OUTLINE | |
| SNAPPABLE | |
| ORIGIN | |
| VERTICAL | |
| HORIZONTAL | |
| CONSTRUCTED | |
| ALL | |
Definition at line 143 of file grid_helper.h.
| GRID_HELPER::GRID_HELPER | ( | ) | 
Definition at line 42 of file grid_helper.cpp.
References ALL, m_constructionGeomPreview, m_enableGrid, m_enableSnap, m_enableSnapLine, m_manualGrid, m_manualGridSnapping, m_manualOrigin, m_manualVisibleGrid, m_maskTypes, m_snapItem, m_snapManager, and m_toolMgr.
Referenced by EE_GRID_HELPER::EE_GRID_HELPER(), EE_GRID_HELPER::EE_GRID_HELPER(), GRID_HELPER(), PCB_GRID_HELPER::PCB_GRID_HELPER(), PCB_GRID_HELPER::PCB_GRID_HELPER(), and TEST_CLEAR_ANCHORS.
| GRID_HELPER::GRID_HELPER | ( | TOOL_MANAGER * | aToolMgr, | 
| int | aConstructionLayer ) | 
Definition at line 58 of file grid_helper.cpp.
References GRID_HELPER(), and m_toolMgr.
      
  | 
  virtual | 
Definition at line 97 of file grid_helper.cpp.
References m_anchorDebug, m_constructionGeomPreview, m_toolMgr, and KIGFX::VIEW::Remove().
      
  | 
  inlineprotected | 
Definition at line 196 of file grid_helper.h.
References addAnchor(), and PT_NONE.
Referenced by addAnchor(), EE_GRID_HELPER::computeAnchors(), PCB_GRID_HELPER::computeAnchors(), and PCB_GRID_HELPER::computeAnchors().
      
  | 
  inlineprotected | 
Definition at line 202 of file grid_helper.h.
References m_anchors, and m_maskTypes.
Reimplemented in PCB_GRID_HELPER.
Definition at line 449 of file grid_helper.cpp.
References Align(), GetGrid(), and GetOrigin().
      
  | 
  virtual | 
Reimplemented in PCB_GRID_HELPER.
Definition at line 455 of file grid_helper.cpp.
References std::abs(), AlignGrid(), canUseGrid(), m_auxAxis, VECTOR2< T >::x, and VECTOR2< T >::y.
      
  | 
  inlinevirtual | 
Reimplemented in PCB_GRID_HELPER.
Definition at line 75 of file grid_helper.h.
References Align(), GetGridSize(), and GetOrigin().
Referenced by Align(), Align(), EE_GRID_HELPER::BestSnapAnchor(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), EE_GRID_HELPER::computeAnchors(), and PCB_GRID_HELPER::PCBGridHelperTestFixture.
Definition at line 428 of file grid_helper.cpp.
References computeNearest(), GetGrid(), and GetOrigin().
| VECTOR2I GRID_HELPER::AlignGrid | ( | const VECTOR2I & | aPoint, | 
| const VECTOR2D & | aGrid, | ||
| const VECTOR2D & | aOffset ) const | 
Definition at line 434 of file grid_helper.cpp.
References computeNearest().
      
  | 
  inlinevirtual | 
Reimplemented in PCB_GRID_HELPER.
Definition at line 80 of file grid_helper.h.
References AlignGrid(), GetGridSize(), and GetOrigin().
Referenced by Align(), AlignGrid(), EC_45DEGREE::Apply(), EC_90DEGREE::Apply(), EC_HORIZONTAL::Apply(), EC_LINE::Apply(), EC_VERTICAL::Apply(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), and PCB_GRID_HELPER::PCBGridHelperTestFixture.
      
  | 
  protected | 
Check whether it is possible to use the grid – this depends both on local grid helper settings and global (tool manager) KiCad settings.
Definition at line 476 of file grid_helper.cpp.
References m_enableGrid, m_manualGridSnapping, and m_toolMgr.
Referenced by Align(), EE_GRID_HELPER::BestSnapAnchor(), and SnapToConstructionLines().
      
  | 
  inlineprotected | 
Definition at line 209 of file grid_helper.h.
References m_anchors.
Referenced by EE_GRID_HELPER::BestDragOrigin(), PCB_GRID_HELPER::BestDragOrigin(), EE_GRID_HELPER::BestSnapAnchor(), PCB_GRID_HELPER::BestSnapAnchor(), PCB_GRID_HELPER::SnapToPad(), and TEST_CLEAR_ANCHORS.
      
  | 
  inline | 
Definition at line 139 of file grid_helper.h.
References m_maskTypes.
Referenced by BOOST_AUTO_TEST_CASE().
      
  | 
  inline | 
Clear the skip point by setting it to an unreachable position, thereby preventing matching.
Definition at line 116 of file grid_helper.h.
References m_skipPoint.
Referenced by BOOST_AUTO_TEST_CASE().
| void GRID_HELPER::ClearSnapLine | ( | ) | 
Definition at line 152 of file grid_helper.cpp.
References m_snapManager.
      
  | 
  protected | 
Definition at line 441 of file grid_helper.cpp.
References KiROUND(), VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by AlignGrid(), and AlignGrid().
      
  | 
  protected | 
Enable the anchor debug if permitted and return it.
Returns nullptr if not permitted by the advancd config
Definition at line 110 of file grid_helper.cpp.
References KIGFX::VIEW::Add(), ADVANCED_CFG::GetCfg(), m_anchorDebug, ADVANCED_CFG::m_EnableSnapAnchorsDebug, m_toolMgr, and KIGFX::VIEW::SetVisible().
Referenced by EE_GRID_HELPER::BestSnapAnchor(), and PCB_GRID_HELPER::BestSnapAnchor().
| VECTOR2I GRID_HELPER::GetGrid | ( | ) | const | 
Definition at line 362 of file grid_helper.cpp.
References KiROUND(), m_manualGrid, m_toolMgr, VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by Align(), AlignGrid(), BOOST_AUTO_TEST_CASE(), and PCB_GRID_HELPER::computeAnchors().
      
  | 
  virtual | 
Return the size of the specified grid.
Reimplemented in EE_GRID_HELPER, and PCB_GRID_HELPER.
Definition at line 404 of file grid_helper.cpp.
References m_manualGrid, and m_toolMgr.
Referenced by Align(), AlignGrid(), BOOST_AUTO_TEST_CASE(), and GetSelectionGrid().
      
  | 
  inlinevirtual | 
Get the coarsest grid that applies to an item.
Reimplemented in EE_GRID_HELPER, and PCB_GRID_HELPER.
Definition at line 101 of file grid_helper.h.
References GRID_CURRENT.
Referenced by GetSelectionGrid().
| VECTOR2I GRID_HELPER::GetOrigin | ( | ) | const | 
Definition at line 375 of file grid_helper.cpp.
References m_manualOrigin, and m_toolMgr.
Referenced by Align(), Align(), AlignGrid(), AlignGrid(), PCB_GRID_HELPER::BestSnapAnchor(), BOOST_AUTO_TEST_CASE(), and SnapToConstructionLines().
      
  | 
  virtual | 
Gets the coarsest grid that applies to a selecion of items.
Reimplemented in EE_GRID_HELPER.
Definition at line 387 of file grid_helper.cpp.
References SELECTION::Front(), GetGridSize(), GetItemGrid(), and grid.
      
  | 
  inline | 
Definition at line 122 of file grid_helper.h.
References m_enableSnap.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), and DRAWING_TOOL::DrawVia().
      
  | 
  inlineprotected | 
Definition at line 226 of file grid_helper.h.
References m_snapManager.
Referenced by PCB_GRID_HELPER::AddConstructionItems(), EE_GRID_HELPER::BestSnapAnchor(), PCB_GRID_HELPER::BestSnapAnchor(), PCB_GRID_HELPER::computeAnchors(), and PCB_GRID_HELPER::nearestAnchor().
| std::optional< VECTOR2I > GRID_HELPER::GetSnappedPoint | ( | ) | const | 
Definition at line 483 of file grid_helper.cpp.
References m_snapItem.
Referenced by BOOST_AUTO_TEST_CASE(), and PCB_PICKER_TOOL::SelectPointInteractively().
      
  | 
  inline | 
Definition at line 125 of file grid_helper.h.
References m_enableGrid.
Referenced by BOOST_AUTO_TEST_CASE(), and BOOST_AUTO_TEST_CASE().
| VECTOR2D GRID_HELPER::GetVisibleGrid | ( | ) | const | 
Definition at line 369 of file grid_helper.cpp.
References m_manualVisibleGrid, and m_toolMgr.
Referenced by PCB_GRID_HELPER::BestSnapAnchor(), and BOOST_AUTO_TEST_CASE().
Definition at line 410 of file grid_helper.cpp.
References m_auxAxis, m_toolMgr, and m_viewAxis.
Referenced by BOOST_AUTO_TEST_CASE().
      
  | 
  inline | 
Definition at line 68 of file grid_helper.h.
References m_manualGrid.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), and BOOST_AUTO_TEST_CASE().
      
  | 
  inline | 
Definition at line 71 of file grid_helper.h.
References m_manualGridSnapping.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), and BOOST_AUTO_TEST_CASE().
      
  | 
  inline | 
Definition at line 137 of file grid_helper.h.
References m_maskTypes.
Referenced by BOOST_AUTO_TEST_CASE().
      
  | 
  inline | 
Definition at line 138 of file grid_helper.h.
References m_maskTypes.
Referenced by BOOST_AUTO_TEST_CASE().
      
  | 
  inline | 
Definition at line 70 of file grid_helper.h.
References m_manualOrigin.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), and BOOST_AUTO_TEST_CASE().
      
  | 
  inline | 
Definition at line 108 of file grid_helper.h.
References m_skipPoint.
Referenced by BOOST_AUTO_TEST_CASE().
      
  | 
  inline | 
Definition at line 121 of file grid_helper.h.
References m_enableSnap.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), DRAWING_TOOL::DrawVia(), and PCB_PICKER_TOOL::SelectPointInteractively().
      
  | 
  inline | 
Definition at line 127 of file grid_helper.h.
References m_enableSnapLine.
| void GRID_HELPER::SetSnapLineDirections | ( | const std::vector< VECTOR2I > & | aDirections | ) | 
Definition at line 136 of file grid_helper.cpp.
References m_snapManager.
| void GRID_HELPER::SetSnapLineEnd | ( | const std::optional< VECTOR2I > & | aEnd | ) | 
Definition at line 147 of file grid_helper.cpp.
References m_snapManager.
| void GRID_HELPER::SetSnapLineOrigin | ( | const VECTOR2I & | aOrigin | ) | 
Definition at line 142 of file grid_helper.cpp.
References m_snapManager.
      
  | 
  inline | 
Definition at line 124 of file grid_helper.h.
References m_enableGrid.
Referenced by BOOST_AUTO_TEST_CASE(), and BOOST_AUTO_TEST_CASE().
      
  | 
  inline | 
Definition at line 69 of file grid_helper.h.
References m_manualVisibleGrid.
Referenced by BOOST_AUTO_TEST_CASE().
      
  | 
  protected | 
Definition at line 129 of file grid_helper.cpp.
References m_constructionGeomPreview, and m_toolMgr.
Referenced by EE_GRID_HELPER::BestSnapAnchor(), and PCB_GRID_HELPER::BestSnapAnchor().
| std::optional< VECTOR2I > GRID_HELPER::SnapToConstructionLines | ( | const VECTOR2I & | aPoint, | 
| const VECTOR2I & | aNearestGrid, | ||
| const VECTOR2D & | aGrid, | ||
| double | aSnapRange ) const | 
Definition at line 158 of file grid_helper.cpp.
References std::abs(), canUseGrid(), delta, VECTOR2< T >::Dot(), VECTOR2< T >::EuclideanNorm(), SNAP_LINE_MANAGER::GetActiveDirection(), SNAP_LINE_MANAGER::GetDirections(), GetOrigin(), SNAP_LINE_MANAGER::GetSnapLineOrigin(), KiROUND(), m_skipPoint, m_snapManager, traceSnap, VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by EE_GRID_HELPER::BestSnapAnchor(), and PCB_GRID_HELPER::BestSnapAnchor().
      
  | 
  protected | 
Definition at line 347 of file grid_helper.cpp.
References KIGFX::GEOMETRY, TYPED_POINT2I::m_point, m_toolMgr, TYPED_POINT2I::m_types, and m_viewSnapPoint.
Referenced by PCB_GRID_HELPER::BestSnapAnchor().
      
  | 
  friend | 
Definition at line 23 of file test_grid_helper.cpp.
References clearAnchors(), and GRID_HELPER().
      
  | 
  private | 
#VIEW_ITEM for visualising anchor points, if enabled.
Definition at line 268 of file grid_helper.h.
Referenced by enableAndGetAnchorDebug(), and ~GRID_HELPER().
      
  | 
  protected | 
Definition at line 237 of file grid_helper.h.
Referenced by addAnchor(), EE_GRID_HELPER::BestSnapAnchor(), PCB_GRID_HELPER::BestSnapAnchor(), clearAnchors(), EE_GRID_HELPER::nearestAnchor(), PCB_GRID_HELPER::nearestAnchor(), and PCB_GRID_HELPER::SnapToPad().
      
  | 
  protected | 
Definition at line 240 of file grid_helper.h.
Referenced by Align(), and SetAuxAxes().
      
  | 
  private | 
Show construction geometry (if any) on the canvas.
Definition at line 262 of file grid_helper.h.
Referenced by EE_GRID_HELPER::GetGrid(), GRID_HELPER(), showConstructionGeometry(), and ~GRID_HELPER().
      
  | 
  protected | 
Definition at line 245 of file grid_helper.h.
Referenced by PCB_GRID_HELPER::BestSnapAnchor(), canUseGrid(), GetUseGrid(), GRID_HELPER(), and SetUseGrid().
      
  | 
  protected | 
Definition at line 244 of file grid_helper.h.
Referenced by PCB_GRID_HELPER::AlignToArc(), PCB_GRID_HELPER::AlignToSegment(), EE_GRID_HELPER::BestSnapAnchor(), PCB_GRID_HELPER::BestSnapAnchor(), GetSnap(), GRID_HELPER(), and SetSnap().
      
  | 
  protected | 
Definition at line 246 of file grid_helper.h.
Referenced by EE_GRID_HELPER::BestSnapAnchor(), PCB_GRID_HELPER::BestSnapAnchor(), GRID_HELPER(), and SetSnapLine().
      
  | 
  protected | 
Definition at line 255 of file grid_helper.h.
Referenced by PCB_GRID_HELPER::AlignGrid(), GetGrid(), GetGridSize(), GRID_HELPER(), and SetGridSize().
      
  | 
  protected | 
Definition at line 258 of file grid_helper.h.
Referenced by PCB_GRID_HELPER::AlignGrid(), canUseGrid(), GRID_HELPER(), and SetGridSnapping().
      
  | 
  protected | 
Definition at line 257 of file grid_helper.h.
Referenced by PCB_GRID_HELPER::AlignGrid(), GetOrigin(), GRID_HELPER(), and SetOrigin().
      
  | 
  protected | 
Definition at line 256 of file grid_helper.h.
Referenced by PCB_GRID_HELPER::AlignGrid(), GetVisibleGrid(), GRID_HELPER(), and SetVisibleGridSize().
      
  | 
  protected | 
Definition at line 242 of file grid_helper.h.
Referenced by addAnchor(), ClearMaskFlag(), GRID_HELPER(), SetMask(), and SetMaskFlag().
      
  | 
  protected | 
Definition at line 249 of file grid_helper.h.
Referenced by EE_GRID_HELPER::BestSnapAnchor(), PCB_GRID_HELPER::BestSnapAnchor(), ClearSkipPoint(), SetSkipPoint(), and SnapToConstructionLines().
      
  | 
  protected | 
Definition at line 247 of file grid_helper.h.
Referenced by EE_GRID_HELPER::BestSnapAnchor(), PCB_GRID_HELPER::BestSnapAnchor(), EE_GRID_HELPER::GetSnapped(), PCB_GRID_HELPER::GetSnapped(), GetSnappedPoint(), GRID_HELPER(), and PCB_GRID_HELPER::OnBoardItemRemoved().
      
  | 
  private | 
Manage the construction geometry, snap lines, reference points, etc.
Definition at line 265 of file grid_helper.h.
Referenced by ClearSnapLine(), EE_GRID_HELPER::GetGrid(), getSnapManager(), GRID_HELPER(), SetSnapLineDirections(), SetSnapLineEnd(), SetSnapLineOrigin(), and SnapToConstructionLines().
      
  | 
  protected | 
Definition at line 239 of file grid_helper.h.
Referenced by PCB_GRID_HELPER::Align(), EE_GRID_HELPER::BestDragOrigin(), PCB_GRID_HELPER::BestDragOrigin(), EE_GRID_HELPER::BestSnapAnchor(), PCB_GRID_HELPER::BestSnapAnchor(), canUseGrid(), PCB_GRID_HELPER::computeAnchors(), EE_GRID_HELPER::EE_GRID_HELPER(), enableAndGetAnchorDebug(), EE_GRID_HELPER::GetGrid(), GetGrid(), EE_GRID_HELPER::GetGridSize(), GetGridSize(), PCB_GRID_HELPER::GetGridSize(), GetOrigin(), GetVisibleGrid(), GRID_HELPER(), GRID_HELPER(), PCB_GRID_HELPER::PCB_GRID_HELPER(), EE_GRID_HELPER::queryVisible(), PCB_GRID_HELPER::queryVisible(), SetAuxAxes(), showConstructionGeometry(), updateSnapPoint(), EE_GRID_HELPER::~EE_GRID_HELPER(), ~GRID_HELPER(), and PCB_GRID_HELPER::~PCB_GRID_HELPER().
      
  | 
  protected | 
Definition at line 252 of file grid_helper.h.
Referenced by EE_GRID_HELPER::EE_GRID_HELPER(), PCB_GRID_HELPER::PCB_GRID_HELPER(), SetAuxAxes(), EE_GRID_HELPER::~EE_GRID_HELPER(), and PCB_GRID_HELPER::~PCB_GRID_HELPER().
      
  | 
  protected | 
Definition at line 251 of file grid_helper.h.
Referenced by EE_GRID_HELPER::BestSnapAnchor(), PCB_GRID_HELPER::BestSnapAnchor(), EE_GRID_HELPER::EE_GRID_HELPER(), PCB_GRID_HELPER::PCB_GRID_HELPER(), updateSnapPoint(), EE_GRID_HELPER::~EE_GRID_HELPER(), and PCB_GRID_HELPER::~PCB_GRID_HELPER().