KiCad PCB EDA Suite
|
#include <shape.h>
Public Member Functions | |
SHAPE_BASE (SHAPE_TYPE aType) | |
Create an empty shape of type aType. | |
virtual | ~SHAPE_BASE () |
SHAPE_TYPE | Type () const |
Return the type of the shape. | |
wxString | TypeName () const |
virtual bool | HasIndexableSubshapes () const |
virtual size_t | GetIndexableSubshapeCount () const |
virtual void | GetIndexableSubshapes (std::vector< const SHAPE * > &aSubshapes) const |
Protected Attributes | |
SHAPE_TYPE | m_type |
< type of our shape | |
|
inline |
Create an empty shape of type aType.
Definition at line 86 of file shape.h.
References m_type.
Referenced by SHAPE::SHAPE().
|
inlinevirtual |
Reimplemented in SHAPE_COMPOUND, and SHAPE_POLY_SET.
Definition at line 113 of file shape.h.
Referenced by SHAPE::GetClearance().
|
inlinevirtual |
Reimplemented in SHAPE_COMPOUND, and SHAPE_POLY_SET.
Definition at line 115 of file shape.h.
Referenced by SHAPE_COMPOUND::AddShape(), and SHAPE::GetClearance().
|
inlinevirtual |
Reimplemented in SHAPE_COMPOUND, and SHAPE_POLY_SET.
|
inline |
Return the type of the shape.
the | type |
Definition at line 98 of file shape.h.
References m_type.
Referenced by CREEPAGE_GRAPH::Addshape(), PNS::DP_GATEWAYS::BuildFromPrimitivePair(), PNS::BuildHullForPrimitiveShape(), PNS_LOG_VIEWER_FRAME::buildListTree(), Collide(), SHAPE_POLY_SET::Collide(), collideShapes(), collideSingleShapes(), PNS::OPTIMIZER::computeBreakouts(), ROUTER_PREVIEW_ITEM::drawShape(), PNS_LOG_VIEWER_FRAME::drawSimpleShape(), EDA_SHAPE::EDA_SHAPE(), SHAPE::GetClearance(), nearestPoints(), nearestPointsSingleShapes(), DRC_RTREE::QueryColliding(), STROKE_PARAMS::Stroke(), and SHAPE_FILE_IO::Write().
|
inline |
|
protected |
< type of our shape
Definition at line 119 of file shape.h.
Referenced by SHAPE::Format(), SHAPE::IsNull(), SHAPE_BASE(), Type(), and TypeName().