java.lang.Cloneable
, java.util.Comparator<MeshCapper.CapVertex>
private class MeshCapper.CapVertex extends javajs.util.T3 implements java.lang.Cloneable, java.util.Comparator<MeshCapper.CapVertex>
Modifier and Type | Field | Description |
---|---|---|
(package private) java.lang.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 | Description |
---|---|
CapVertex(javajs.util.T3 p,
int i) |
Modifier and Type | Method | 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 java.lang.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
|
java.lang.String |
toString() |
Returns a string that contains the values of this Tuple3f.
|
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
int ipt
java.lang.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 java.util.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 java.lang.String dumpRegion()
public java.lang.String toString()
javajs.util.T3
toString
in class javajs.util.T3