![]() |
KiCad PCB EDA Suite
|
#include <shape_poly_set.h>
Classes | |
struct | TRI |
Public Member Functions | |
TRIANGULATED_POLYGON () | |
TRIANGULATED_POLYGON (const TRIANGULATED_POLYGON &aOther) | |
~TRIANGULATED_POLYGON () | |
void | Clear () |
void | GetTriangle (int index, VECTOR2I &a, VECTOR2I &b, VECTOR2I &c) const |
TRIANGULATED_POLYGON & | operator= (const TRIANGULATED_POLYGON &aOther) |
void | AddTriangle (int a, int b, int c) |
void | AddVertex (const VECTOR2I &aP) |
size_t | GetTriangleCount () const |
std::deque< TRI > & | Triangles () |
size_t | GetVertexCount () const |
void | Move (const VECTOR2I &aVec) |
Private Attributes | |
std::deque< TRI > | m_triangles |
std::deque< VECTOR2I > | m_vertices |
Definition at line 72 of file shape_poly_set.h.
SHAPE_POLY_SET::TRIANGULATED_POLYGON::TRIANGULATED_POLYGON | ( | ) |
Definition at line 2324 of file shape_poly_set.cpp.
SHAPE_POLY_SET::TRIANGULATED_POLYGON::TRIANGULATED_POLYGON | ( | const TRIANGULATED_POLYGON & | aOther | ) |
Definition at line 2302 of file shape_poly_set.cpp.
References m_triangles, and m_vertices.
SHAPE_POLY_SET::TRIANGULATED_POLYGON::~TRIANGULATED_POLYGON | ( | ) |
Definition at line 2329 of file shape_poly_set.cpp.
void SHAPE_POLY_SET::TRIANGULATED_POLYGON::AddTriangle | ( | int | a, |
int | b, | ||
int | c | ||
) |
Definition at line 2296 of file shape_poly_set.cpp.
References m_triangles.
Referenced by PolygonTriangulation::earcutList().
|
inline |
Definition at line 150 of file shape_poly_set.h.
References m_vertices.
Referenced by PolygonTriangulation::insertVertex().
|
inline |
Definition at line 132 of file shape_poly_set.h.
References m_triangles, and m_vertices.
Referenced by PolygonTriangulation::TesselatePolygon().
|
inline |
Definition at line 138 of file shape_poly_set.h.
References m_triangles, and m_vertices.
Referenced by ConvertPolygonToTriangles(), and PNS_KICAD_IFACE_BASE::syncZone().
|
inline |
Definition at line 155 of file shape_poly_set.h.
References m_triangles.
Referenced by PNS_KICAD_IFACE_BASE::syncZone().
|
inline |
Definition at line 165 of file shape_poly_set.h.
References m_vertices.
Referenced by PolygonTriangulation::insertVertex().
|
inline |
Definition at line 170 of file shape_poly_set.h.
References m_vertices.
SHAPE_POLY_SET::TRIANGULATED_POLYGON & SHAPE_POLY_SET::TRIANGULATED_POLYGON::operator= | ( | const TRIANGULATED_POLYGON & | aOther | ) |
Definition at line 2312 of file shape_poly_set.cpp.
References m_triangles, and m_vertices.
|
inline |
Definition at line 160 of file shape_poly_set.h.
References m_triangles.
|
private |
Definition at line 177 of file shape_poly_set.h.
Referenced by AddTriangle(), Clear(), GetTriangle(), GetTriangleCount(), operator=(), Triangles(), and TRIANGULATED_POLYGON().
|
private |
Definition at line 178 of file shape_poly_set.h.
Referenced by AddVertex(), SHAPE_POLY_SET::TRIANGULATED_POLYGON::TRI::BBox(), Clear(), SHAPE_POLY_SET::TRIANGULATED_POLYGON::TRI::GetPoint(), SHAPE_POLY_SET::TRIANGULATED_POLYGON::TRI::GetSegment(), GetTriangle(), GetVertexCount(), Move(), operator=(), and TRIANGULATED_POLYGON().