Constructor and Description |
---|
Triangles() |
Modifier and Type | Method and Description |
---|---|
long |
addf(long v0,
long v1,
long v2,
float nx,
float ny,
float nz)
Adds a triangle to the mesh's triangles list.
|
Mesh |
mesh()
The mesh to which the collection of triangles belongs.
|
float |
nxf(long tIndex)
X coordinate of triangle's normal, as a float.
|
float |
nyf(long tIndex)
Y coordinate of triangle's normal, as a float.
|
float |
nzf(long tIndex)
Z coordinate of triangle's normal, as a float.
|
long |
size()
Number of triangles in the collection.
|
long |
vertex0(long tIndex)
Index of first vertex in a triangle.
|
long |
vertex1(long tIndex)
Index of second vertex in a triangle.
|
long |
vertex2(long tIndex)
Index of third vertex in a triangle.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
add, add, add, add, addf, addf, addf, iterator, nx, ny, nz
forEach, spliterator
public Mesh mesh()
Triangles
public long size()
Triangles
public long vertex0(long tIndex)
Triangles
public long vertex1(long tIndex)
Triangles
public long vertex2(long tIndex)
Triangles
public float nxf(long tIndex)
Triangles
public float nyf(long tIndex)
Triangles
public float nzf(long tIndex)
Triangles
public long addf(long v0, long v1, long v2, float nx, float ny, float nz)
Triangles
addf
in interface Triangles
v0
- Index of triangle's first vertex.v1
- Index of triangle's second vertex.v2
- Index of triangle's third vertex.nx
- X coordinate of triangle's normal.ny
- Y coordinate of triangle's normal.nz
- Z coordinate of triangle's normal.Copyright © 2014–2022 ImageJ. All rights reserved.