KiCad PCB EDA Suite
|
#include "object_2d.h"
#include "../accelerators/container_2d.h"
#include <geometry/shape_line_chain.h>
#include <geometry/shape_poly_set.h>
#include <clipper.hpp>
Go to the source code of this file.
Classes | |
class | TRIANGLE_2D |
Functions | |
void | ConvertPolygonToTriangles (const SHAPE_POLY_SET &aPolyList, CONTAINER_2D_BASE &aDstContainer, float aBiuTo3dUnitsScale, const BOARD_ITEM &aBoardItem) |
void ConvertPolygonToTriangles | ( | const SHAPE_POLY_SET & | aPolyList, |
CONTAINER_2D_BASE & | aDstContainer, | ||
float | aBiuTo3dUnitsScale, | ||
const BOARD_ITEM & | aBoardItem | ||
) |
Definition at line 121 of file triangle_2d.cpp.
References CONTAINER_2D_BASE::Add(), SHAPE_POLY_SET::TRIANGULATED_POLYGON::GetTriangle(), SHAPE_POLY_SET::TRIANGULATED_POLYGON::GetTriangleCount(), SHAPE_POLY_SET::TriangulatedPolyCount(), SHAPE_POLY_SET::TriangulatedPolygon(), VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by BOARD_ADAPTER::addShape(), BOARD_ADAPTER::addSolidAreasShapes(), BOARD_ADAPTER::addText(), RENDER_3D_OPENGL::createBoard(), BOARD_ADAPTER::createPadWithMargin(), and RENDER_3D_OPENGL::generateViasAndPads().