KiCad PCB EDA Suite
Loading...
Searching...
No Matches
GRAPHIC_EDIT_GEOMETRY Struct Reference

#include <graphic_edit.h>

Public Attributes

SHAPE_T m_Shape = SHAPE_T::SEGMENT
 A result need not be the same kind as the source.
 
VECTOR2I m_Start
 
VECTOR2I m_Mid
 Arcs only. Everything else leaves it default.
 
VECTOR2I m_End
 

Detailed Description

Definition at line 51 of file graphic_edit.h.

Member Data Documentation

◆ m_End

◆ m_Mid

VECTOR2I GRAPHIC_EDIT_GEOMETRY::m_Mid

Arcs only. Everything else leaves it default.

Definition at line 60 of file graphic_edit.h.

Referenced by applyGeometry(), drawable(), GRAPHIC_EXTEND_PLANNER::Plan(), and TRIM_CARRIER::Span().

◆ m_Shape

SHAPE_T GRAPHIC_EDIT_GEOMETRY::m_Shape = SHAPE_T::SEGMENT

A result need not be the same kind as the source.

A circle carries its centre in m_Start and a point on the rim in m_End.

Definition at line 55 of file graphic_edit.h.

Referenced by applyGeometry(), BOOST_AUTO_TEST_CASE(), drawable(), GRAPHIC_EXTEND_PLANNER::Plan(), GRAPHIC_TRIM_PLANNER::Plan(), and TRIM_CARRIER::Span().

◆ m_Start


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