Struct JobBuildMesh Extends IJob
Public
Builds a polygon mesh from a contour set.
Public Methods
CanRemoveVertex
(mesh, vertexToRemove, vertexScratch)
Public
Execute
()
Public
RemoveTileBorderVertices
(mesh, verticesToRemove)
Public
RemoveVertex
(mesh, vertexToRemove)
Public
Public Static Methods
AddVertex
(vertices, vertexMap, vertex)
Public
Static
Area2
(a, b, c, verts)
Public
Static
Between
(a, b, c, verts)
Public
Static
Collinear
(a, b, c, verts)
Public
Static
Diagonal
(i, j, n, verts, indices)
Returns T iff (v_i, v_j) is a proper internal diagonal of P.
Public
Static
Diagonalie
(i, j, n, verts, indices)
Returns T iff (v_i, v_j) is a proper internal *or* external diagonal of P, *ignoring edges incident to v_i and v_j*.
Public
Static
InCone
(i, j, n, verts, indices)
Public
Static
Intersect
(a, b, c, d, verts)
Public
Static
IntersectProp
(a, b, c, d, verts)
Public
Static
Left
(a, b, c, verts)
Returns true iff c is strictly to the left of the directed line through a to b.
Public
Static
LeftOn
(a, b, c, verts)
Public
Static
Next
(i, n)
(i+1) % n assuming 0 <= i < n
Public
Static
Prev
(i, n)
(i-1+n) % n assuming 0 <= i < n
Public
Static
Triangulate
(n, verts, indices, tris)
Public
Static
Vequal
(a, b, verts)
Public
Static
Xorb
(x, y)
Public
Static
Public Variables
contourVertices
Public
contours
contour set to build a mesh from.
Public
field
Public
mesh
Results will be written to this mesh.
Public