private class MeshCapper.CapVertex extends javajs.util.T3 implements Cloneable, Comparator<MeshCapper.CapVertex>
| Modifier and Type | Field and Description |
|---|---|
(package private) String |
id
for debugging
|
(package private) int |
ipt
external reference
|
(package private) MeshCapper.CapVertex |
next |
protected int |
ok
unique vertex test
|
(package private) MeshCapper.CapVertex |
prev
edge double links
|
protected MeshCapper.CapVertex |
qnext
Y-X scan queue forward link
|
(package private) MeshCapper.CapVertex[] |
region
dynamic region pointers
|
| Constructor and Description |
|---|
CapVertex(javajs.util.T3 p,
int i) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
clear()
Free all links.
|
MeshCapper.CapVertex |
cloneV() |
int |
compare(MeshCapper.CapVertex v1,
MeshCapper.CapVertex v2) |
private int |
disable(MeshCapper.CapVertex v1,
MeshCapper.CapVertex v2) |
private String |
dumpRegion()
for debugging
|
protected float |
interpolateX(MeshCapper.CapVertex v1,
MeshCapper.CapVertex v2)
Get interpolated x for the scan line intersection with an edge.
|
protected void |
link(MeshCapper.CapVertex v)
Link this vertex with v or remove it from the chain.
|
MeshCapper.CapVertex |
sort(MeshCapper.CapVertex[] vs)
Generate qnext links based on scanning Y large to Y small and if Y1==Y2,
then X small to large
|
String |
toString()
Returns a string that contains the values of this Tuple3f.
|
add, add2, add3, ave, cross, distance, distanceSquared, dot, equals, hashCode, length, lengthSquared, normalize, scale, scaleAdd2, scaleT, set, setA, setT, sub, sub2, toJSONclone, equals, finalize, getClass, notify, notifyAll, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongint ipt
String id
protected MeshCapper.CapVertex qnext
MeshCapper.CapVertex prev
MeshCapper.CapVertex next
MeshCapper.CapVertex[] region
protected int ok
public MeshCapper.CapVertex cloneV()
public MeshCapper.CapVertex sort(MeshCapper.CapVertex[] vs)
vs - public int compare(MeshCapper.CapVertex v1, MeshCapper.CapVertex v2)
compare in interface Comparator<MeshCapper.CapVertex>private int disable(MeshCapper.CapVertex v1, MeshCapper.CapVertex v2)
protected float interpolateX(MeshCapper.CapVertex v1, MeshCapper.CapVertex v2)
v1 - v2 - protected void link(MeshCapper.CapVertex v)
v - null to removeprotected void clear()
private String dumpRegion()
public String toString()
javajs.util.T3toString in class javajs.util.T3