Name | Description |
eachTriangle(face)
|
eagerly call 'fun' for each triangle of the passed face
|
eachVertex(face)
|
eagerly call 'fun' for each vertex of the passed face
|
index(vertexInRange, vertexOutRange, indexer)
|
Index the input vertex range into a range of indices with the given Indexer.
The shared vertices will be put into the given output range. (each vertex is given once)
|
indexCollectMesh(vertexRange, indexer)
|
eagerly index all vertices in the given range and collect them
into a struct that has an indices array member and a vertices array member
|
triangulate(faceRange)
|
turn a range of undertermined face type into a range of triangles
|
vertexMap(face)
|
map a single face to another face of same shape with all elements mapped by the passed function.
element type of returned face can differ from element type in input face
|
vertexMap(faceRange)
|
map a range of face to another range of face where each vertex is mapped (and whose type might change)
|
vertices(faceRange)
|
turn a range of undertermined face type into a range of vertices
|