earcutd ~master (2021-11-11T01:19:47.645425)
Dub
Repo
Earcut.Node
earcutd
Earcut
Undocumented in source.
struct
Earcut
(N, Polygon)
struct
Node {
N
i
;
double
x
;
double
y
;
int
opCmp
(Node rhs);
@
nogc
nothrow
Node
*
prev
;
@
nogc
nothrow
Node
*
next
;
@
nogc
nothrow
int32_t
z
;
@
nogc
nothrow
Node
*
prevZ
;
@
nogc
nothrow
Node
*
nextZ
;
@
nogc
nothrow
bool
steiner
;
this
(N index, double x_, double y_);
}
Constructors
this
this
(N index, double x_, double y_)
Undocumented in source.
Members
Functions
opCmp
int
opCmp
(Node rhs)
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
i
N
i
;
Undocumented in source.
next
Node
*
next
;
Undocumented in source.
nextZ
Node
*
nextZ
;
Undocumented in source.
prev
Node
*
prev
;
Undocumented in source.
prevZ
Node
*
prevZ
;
Undocumented in source.
steiner
bool
steiner
;
Undocumented in source.
x
double
x
;
Undocumented in source.
y
double
y
;
Undocumented in source.
z
int32_t
z
;
Undocumented in source.
Meta
Source
See Implementation
earcutd
Earcut
aliases
ASeq
ASeq2
Point
VecPoint
functions
area
cureLocalIntersections
earcutLinked
eliminateHole
eliminateHoles
equals
filterPoints
findHoleBridge
getLeftmost
indexCurve
insertNode
intersects
intersectsPolygon
isEar
isEarHashed
isValidDiagonal
linkedList
locallyInside
middleInside
onSegment
pointInTriangle
removeNode
run
sectorContainsSector
sign
sortLinked
splitEarcut
splitPolygon
zOrder
structs
Node
ObjectPool
variables
hashing
indices
inv_size
maxX
maxY
minX
minY
nodes
vertices