KiCad PCB EDA Suite
|
#include "triangle_2d.h"
#include "../ray.h"
#include <wx/debug.h>
#include <geometry/polygon_triangulation.h>
#include "../../../3d_fastmath.h"
Go to the source code of this file.
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().