private class MeshCapper.CapVertex extends javajs.util.T3 implements java.lang.Cloneable, java.util.Comparator<MeshCapper.CapVertex>
| Modifier and Type | Field and 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 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 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.
|
add, add2, add3, ave, cross, distance, distanceSquared, dot, equals, floatToIntBits0, hashCode, length, lengthSquared, normalize, scale, scaleAdd2, scaleT, set, setA, setT, sub, sub2, toJSONint 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>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.T3toString in class javajs.util.T3