Package net.imglib2.mesh
Interface Triangle
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description longindex()Index into the mesh's list of triangles.Meshmesh()The mesh to which the triangle belongs.default doublenx()X coordinate of triangle's normal, as a double.default floatnxf()X coordinate of triangle's normal, as a float.default doubleny()Y coordinate of triangle's normal, as a double.default floatnyf()Y coordinate of triangle's normal, as a float.default doublenz()Z coordinate of triangle's normal, as a double.default floatnzf()Z coordinate of triangle's normal, as a float.default doublev0x()X coordinate of triangle's first vertex, as a double.default floatv0xf()X coordinate of triangle's first vertex, as a float.default doublev0y()Y coordinate of triangle's first vertex, as a double.default floatv0yf()Y coordinate of triangle's first vertex, as a float.default doublev0z()Z coordinate of triangle's first vertex, as a double.default floatv0zf()Z coordinate of triangle's first vertex, as a float.default doublev1x()X coordinate of triangle's second vertex, as a double.default floatv1xf()X coordinate of triangle's second vertex, as a float.default doublev1y()Y coordinate of triangle's second vertex, as a double.default floatv1yf()Y coordinate of triangle's second vertex, as a float.default doublev1z()Z coordinate of triangle's second vertex, as a double.default floatv1zf()Z coordinate of triangle's second vertex, as a float.default doublev2x()X coordinate of triangle's third vertex, as a double.default floatv2xf()X coordinate of triangle's third vertex, as a float.default doublev2y()Y coordinate of triangle's third vertex, as a double.default floatv2yf()Y coordinate of triangle's third vertex, as a float.default doublev2z()Z coordinate of triangle's third vertex, as a double.default floatv2zf()Z coordinate of triangle's third vertex, as a float.default longvertex0()Index of first vertex in the triangle.default longvertex1()Index of second vertex in the triangle.default longvertex2()Index of third vertex in the triangle.
-
-
-
Method Detail
-
mesh
Mesh mesh()
The mesh to which the triangle belongs.- See Also:
Mesh.triangles()
-
index
long index()
Index into the mesh's list of triangles.
-
vertex0
default long vertex0()
Index of first vertex in the triangle.
-
vertex1
default long vertex1()
Index of second vertex in the triangle.
-
vertex2
default long vertex2()
Index of third vertex in the triangle.
-
v0xf
default float v0xf()
X coordinate of triangle's first vertex, as a float.
-
v0yf
default float v0yf()
Y coordinate of triangle's first vertex, as a float.
-
v0zf
default float v0zf()
Z coordinate of triangle's first vertex, as a float.
-
v1xf
default float v1xf()
X coordinate of triangle's second vertex, as a float.
-
v1yf
default float v1yf()
Y coordinate of triangle's second vertex, as a float.
-
v1zf
default float v1zf()
Z coordinate of triangle's second vertex, as a float.
-
v2xf
default float v2xf()
X coordinate of triangle's third vertex, as a float.
-
v2yf
default float v2yf()
Y coordinate of triangle's third vertex, as a float.
-
v2zf
default float v2zf()
Z coordinate of triangle's third vertex, as a float.
-
nxf
default float nxf()
X coordinate of triangle's normal, as a float.
-
nyf
default float nyf()
Y coordinate of triangle's normal, as a float.
-
nzf
default float nzf()
Z coordinate of triangle's normal, as a float.
-
v0x
default double v0x()
X coordinate of triangle's first vertex, as a double.
-
v0y
default double v0y()
Y coordinate of triangle's first vertex, as a double.
-
v0z
default double v0z()
Z coordinate of triangle's first vertex, as a double.
-
v1x
default double v1x()
X coordinate of triangle's second vertex, as a double.
-
v1y
default double v1y()
Y coordinate of triangle's second vertex, as a double.
-
v1z
default double v1z()
Z coordinate of triangle's second vertex, as a double.
-
v2x
default double v2x()
X coordinate of triangle's third vertex, as a double.
-
v2y
default double v2y()
Y coordinate of triangle's third vertex, as a double.
-
v2z
default double v2z()
Z coordinate of triangle's third vertex, as a double.
-
nx
default double nx()
X coordinate of triangle's normal, as a double.
-
ny
default double ny()
Y coordinate of triangle's normal, as a double.
-
nz
default double nz()
Z coordinate of triangle's normal, as a double.
-
-