|
KiCad PCB EDA Suite
|
Classes | |
| struct | NODE |
Public Types | |
| using | Index = FractureEdge::Index |
Public Member Functions | |
| template<typename Originals> | |
| FRACTURE_EDGE_INDEX (FractureEdgeSet &aEdges, Originals &&aOriginals, int aMinY, int aMaxY, uint32_t aStripeCount, size_t aHoleCount) | |
| bool | IsValid () const |
| template<typename Visitor> | |
| void | Query (int aY, Index aProvokingIndex, Visitor &&aVisitor) const |
| void | InsertBridges (Index aFirst) |
Private Member Functions | |
| uint32_t | map (int aY) const |
| std::pair< uint32_t, uint32_t > | span (const FractureEdge &aEdge) const |
| template<typename Visitor> | |
| void | visitOverflow (uint32_t aNode, Index aProvokingIndex, Visitor &&aVisitor) const |
| void | insert (uint32_t aEdge, uint32_t aHead) |
Static Private Member Functions | |
| static void | logAccepted (size_t aEdges, size_t aHoles, uint32_t aStripes, size_t aBytes) |
Private Attributes | |
| FractureEdgeSet & | m_edges |
| int | m_minY |
| int | m_maxY |
| uint32_t | m_stripeCount |
| size_t | m_maxNodes |
| size_t | m_budget |
| bool | m_valid = false |
| std::vector< uint32_t > | m_offsets |
| std::vector< uint32_t > | m_bucketIds |
| std::vector< uint32_t > | m_longIds |
| std::vector< uint32_t > | m_heads |
| std::vector< NODE > | m_nodes |
Static Private Attributes | |
| static constexpr uint32_t | INVALID = std::numeric_limits<uint32_t>::max() |
Definition at line 1391 of file shape_poly_set.cpp.
Definition at line 1394 of file shape_poly_set.cpp.
|
inline |
Definition at line 1403 of file shape_poly_set.cpp.
References KIGEOM::FRACTURE_INDEX::ActualCapacityFits(), KIGEOM::FRACTURE_INDEX::CapacityFits(), INVALID, logAccepted(), m_bucketIds, m_budget, m_edges, m_heads, m_longIds, m_maxNodes, m_maxY, m_minY, m_nodes, m_offsets, m_stripeCount, m_valid, and KIGEOM::FRACTURE_INDEX::MAX_BUCKET_SPAN.
|
inlineprivate |
Definition at line 1567 of file shape_poly_set.cpp.
References m_heads, m_maxNodes, and m_nodes.
Referenced by InsertBridges().
|
inline |
Definition at line 1522 of file shape_poly_set.cpp.
References insert(), m_edges, m_stripeCount, KIGEOM::FRACTURE_INDEX::MAX_BUCKET_SPAN, and span().
Referenced by processHole().
|
inline |
Definition at line 1492 of file shape_poly_set.cpp.
References m_valid.
|
inlinestaticprivate |
Definition at line 1574 of file shape_poly_set.cpp.
Referenced by FRACTURE_EDGE_INDEX().
|
inlineprivate |
Definition at line 1543 of file shape_poly_set.cpp.
References m_maxY, m_minY, m_stripeCount, and KIGEOM::FRACTURE_INDEX::MapYToStripe().
Referenced by Query().
|
inline |
Definition at line 1495 of file shape_poly_set.cpp.
References m_bucketIds, m_heads, m_longIds, m_offsets, m_stripeCount, map(), and visitOverflow().
Referenced by processHole().
|
inlineprivate |
Definition at line 1545 of file shape_poly_set.cpp.
References m_maxY, m_minY, FractureEdge::m_p1, FractureEdge::m_p2, m_stripeCount, KIGEOM::FRACTURE_INDEX::StripeSpan(), and VECTOR2< T >::y.
Referenced by InsertBridges().
|
inlineprivate |
Definition at line 1551 of file shape_poly_set.cpp.
References FRACTURE_EDGE_INDEX::NODE::edge, INVALID, m_nodes, and FRACTURE_EDGE_INDEX::NODE::next.
Referenced by Query().
|
staticconstexprprivate |
Definition at line 1541 of file shape_poly_set.cpp.
Referenced by FRACTURE_EDGE_INDEX(), and visitOverflow().
|
private |
Definition at line 1589 of file shape_poly_set.cpp.
Referenced by FRACTURE_EDGE_INDEX(), and Query().
|
private |
Definition at line 1586 of file shape_poly_set.cpp.
Referenced by FRACTURE_EDGE_INDEX().
|
private |
Definition at line 1581 of file shape_poly_set.cpp.
Referenced by FRACTURE_EDGE_INDEX(), and InsertBridges().
|
private |
Definition at line 1591 of file shape_poly_set.cpp.
Referenced by FRACTURE_EDGE_INDEX(), insert(), and Query().
|
private |
Definition at line 1590 of file shape_poly_set.cpp.
Referenced by FRACTURE_EDGE_INDEX(), and Query().
|
private |
Definition at line 1585 of file shape_poly_set.cpp.
Referenced by FRACTURE_EDGE_INDEX(), and insert().
|
private |
Definition at line 1583 of file shape_poly_set.cpp.
Referenced by FRACTURE_EDGE_INDEX(), map(), and span().
|
private |
Definition at line 1582 of file shape_poly_set.cpp.
Referenced by FRACTURE_EDGE_INDEX(), map(), and span().
|
private |
Definition at line 1592 of file shape_poly_set.cpp.
Referenced by FRACTURE_EDGE_INDEX(), insert(), and visitOverflow().
|
private |
Definition at line 1588 of file shape_poly_set.cpp.
Referenced by FRACTURE_EDGE_INDEX(), and Query().
|
private |
Definition at line 1584 of file shape_poly_set.cpp.
Referenced by FRACTURE_EDGE_INDEX(), InsertBridges(), map(), Query(), and span().
|
private |
Definition at line 1587 of file shape_poly_set.cpp.
Referenced by FRACTURE_EDGE_INDEX(), and IsValid().