#include <ogdf/lib/mapbox/mapbox_earcut.h>
Classes | |
struct | Node |
class | ObjectPool |
Public Member Functions | |
template<typename Polygon > | |
void | operator() (const Polygon &points) |
Public Attributes | |
std::vector< N > | indices |
std::size_t | vertices = 0 |
Private Member Functions | |
double | area (const Node *p, const Node *q, const Node *r) const |
Node * | cureLocalIntersections (Node *start) |
void | earcutLinked (Node *ear, int pass=0) |
void | eliminateHole (Node *hole, Node *outerNode) |
template<typename Polygon > | |
Node * | eliminateHoles (const Polygon &points, Node *outerNode) |
bool | equals (const Node *p1, const Node *p2) |
Node * | filterPoints (Node *start, Node *end=nullptr) |
Node * | findHoleBridge (Node *hole, Node *outerNode) |
Node * | getLeftmost (Node *start) |
void | indexCurve (Node *start) |
template<typename Point > | |
Node * | insertNode (std::size_t i, const Point &p, Node *last) |
bool | intersects (const Node *p1, const Node *q1, const Node *p2, const Node *q2) |
bool | intersectsPolygon (const Node *a, const Node *b) |
bool | isEar (Node *ear) |
bool | isEarHashed (Node *ear) |
bool | isValidDiagonal (Node *a, Node *b) |
template<typename Ring > | |
Node * | linkedList (const Ring &points, const bool clockwise) |
bool | locallyInside (const Node *a, const Node *b) |
bool | middleInside (const Node *a, const Node *b) |
bool | pointInTriangle (double ax, double ay, double bx, double by, double cx, double cy, double px, double py) const |
void | removeNode (Node *p) |
Node * | sortLinked (Node *list) |
void | splitEarcut (Node *start) |
Node * | splitPolygon (Node *a, Node *b) |
int32_t | zOrder (const double x_, const double y_) |
Private Attributes | |
bool | hashing |
double | inv_size = 0 |
double | maxX |
double | maxY |
double | minX |
double | minY |
ObjectPool< Node > | nodes |
Definition at line 41 of file mapbox_earcut.h.
|
private |
Definition at line 672 of file mapbox_earcut.h.
|
private |
Definition at line 383 of file mapbox_earcut.h.
|
private |
Definition at line 268 of file mapbox_earcut.h.
|
private |
Definition at line 463 of file mapbox_earcut.h.
|
private |
Definition at line 437 of file mapbox_earcut.h.
|
private |
Definition at line 678 of file mapbox_earcut.h.
|
private |
Definition at line 243 of file mapbox_earcut.h.
|
private |
Definition at line 474 of file mapbox_earcut.h.
|
private |
Definition at line 643 of file mapbox_earcut.h.
|
private |
Definition at line 534 of file mapbox_earcut.h.
|
private |
Definition at line 758 of file mapbox_earcut.h.
|
private |
Definition at line 684 of file mapbox_earcut.h.
|
private |
Definition at line 693 of file mapbox_earcut.h.
|
private |
Definition at line 320 of file mapbox_earcut.h.
|
private |
Definition at line 340 of file mapbox_earcut.h.
|
private |
Definition at line 665 of file mapbox_earcut.h.
|
private |
Definition at line 205 of file mapbox_earcut.h.
|
private |
Definition at line 706 of file mapbox_earcut.h.
|
private |
Definition at line 714 of file mapbox_earcut.h.
void mapbox::detail::Earcut< N >::operator() | ( | const Polygon & | points | ) |
Definition at line 150 of file mapbox_earcut.h.
|
private |
Definition at line 657 of file mapbox_earcut.h.
|
private |
Definition at line 776 of file mapbox_earcut.h.
|
private |
Definition at line 555 of file mapbox_earcut.h.
|
private |
Definition at line 409 of file mapbox_earcut.h.
|
private |
Definition at line 734 of file mapbox_earcut.h.
|
private |
Definition at line 622 of file mapbox_earcut.h.
|
private |
Definition at line 102 of file mapbox_earcut.h.
std::vector<N> mapbox::detail::Earcut< N >::indices |
Definition at line 43 of file mapbox_earcut.h.
|
private |
Definition at line 105 of file mapbox_earcut.h.
|
private |
Definition at line 103 of file mapbox_earcut.h.
|
private |
Definition at line 104 of file mapbox_earcut.h.
|
private |
Definition at line 103 of file mapbox_earcut.h.
|
private |
Definition at line 104 of file mapbox_earcut.h.
|
private |
Definition at line 146 of file mapbox_earcut.h.
std::size_t mapbox::detail::Earcut< N >::vertices = 0 |
Definition at line 44 of file mapbox_earcut.h.