KiCad PCB EDA Suite
|
#include <algorithm>
#include <assert.h>
#include <cmath>
#include <cstdio>
#include <istream>
#include <limits>
#include <map>
#include <memory>
#include <set>
#include <string>
#include <type_traits>
#include <unordered_set>
#include <vector>
#include <clipper.hpp>
#include <clipper2/clipper.h>
#include <geometry/geometry_utils.h>
#include <geometry/polygon_triangulation.h>
#include <geometry/seg.h>
#include <geometry/shape.h>
#include <geometry/shape_line_chain.h>
#include <geometry/shape_poly_set.h>
#include <math/box2.h>
#include <math/util.h>
#include <math/vector2d.h>
#include <md5_hash.h>
#include <hash.h>
#include <geometry/shape_segment.h>
#include <geometry/shape_circle.h>
#include <advanced_config.h>
#include <wx/log.h>
Go to the source code of this file.
Classes | |
struct | FractureEdge |
Macros | |
#define | SEG_CNT_MAX 64 |
#define | SEG_CNT_MAX 64 |
#define | SEG_CNT_MAX 64 |
Typedefs | |
typedef std::vector< FractureEdge * > | FractureEdgeSet |
Functions | |
static int | processEdge (FractureEdgeSet &edges, FractureEdge *edge) |
static SHAPE_POLY_SET | partitionPolyIntoRegularCellGrid (const SHAPE_POLY_SET &aPoly, int aSize) |
#define SEG_CNT_MAX 64 |
#define SEG_CNT_MAX 64 |
#define SEG_CNT_MAX 64 |
typedef std::vector<FractureEdge*> FractureEdgeSet |
Definition at line 1472 of file shape_poly_set.cpp.
|
static |
Definition at line 2914 of file shape_poly_set.cpp.
References SHAPE_POLY_SET::AddOutline(), SHAPE_LINE_CHAIN::Append(), SHAPE_POLY_SET::BBox(), BOX2< Vec >::GetHeight(), BOX2< Vec >::GetWidth(), BOX2< Vec >::GetX(), BOX2< Vec >::GetY(), SHAPE_POLY_SET::PM_FAST, VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by SHAPE_POLY_SET::CacheTriangulation().
|
static |
Definition at line 1475 of file shape_poly_set.cpp.
References FractureEdge::m_connected, FractureEdge::m_next, FractureEdge::m_p1, FractureEdge::m_p2, rescale(), VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by SHAPE_POLY_SET::fractureSingle().