Package net.imglib2.mesh
Interface Vertex
-
- All Superinterfaces:
EuclideanSpace,RealLocalizable
public interface Vertex extends RealLocalizable
One vertex of aVerticescollection.- Author:
- Curtis Rueden
- See Also:
Vertices
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default doublegetDoublePosition(int d)default floatgetFloatPosition(int d)longindex()Index into the mesh's list of vertices.default voidlocalize(double[] position)default voidlocalize(float[] position)Meshmesh()The mesh to which the vertex belongs.default intnumDimensions()default doublenx()X coordinate of vertex normal, as a double.default floatnxf()X coordinate of vertex normal, as a float.default doubleny()Y coordinate of vertex normal, as a double.default floatnyf()Y coordinate of vertex normal, as a float.default doublenz()Z coordinate of vertex normal, as a double.default floatnzf()Z coordinate of vertex normal, as a float.default doubleu()U value of vertex texture coordinate, as a double.default floatuf()U value of vertex texture coordinate, as a float.default doublev()V value of vertex texture coordinate, as a double.default floatvf()V value of vertex texture coordinate, as a float.default doublex()X position of vertex, as a double.default floatxf()X position of vertex, as a float.default doubley()Y position of vertex, as a double.default floatyf()Y position of vertex, as a float.default doublez()Z position of vertex, as a double.default floatzf()Z position of vertex, as a float.-
Methods inherited from interface net.imglib2.RealLocalizable
localize, positionAsDoubleArray, positionAsRealPoint
-
-
-
-
Method Detail
-
mesh
Mesh mesh()
The mesh to which the vertex belongs.- See Also:
Mesh.vertices()
-
index
long index()
Index into the mesh's list of vertices.
-
xf
default float xf()
X position of vertex, as a float.
-
yf
default float yf()
Y position of vertex, as a float.
-
zf
default float zf()
Z position of vertex, as a float.
-
nxf
default float nxf()
X coordinate of vertex normal, as a float.
-
nyf
default float nyf()
Y coordinate of vertex normal, as a float.
-
nzf
default float nzf()
Z coordinate of vertex normal, as a float.
-
uf
default float uf()
U value of vertex texture coordinate, as a float.
-
vf
default float vf()
V value of vertex texture coordinate, as a float.
-
x
default double x()
X position of vertex, as a double.
-
y
default double y()
Y position of vertex, as a double.
-
z
default double z()
Z position of vertex, as a double.
-
nx
default double nx()
X coordinate of vertex normal, as a double.
-
ny
default double ny()
Y coordinate of vertex normal, as a double.
-
nz
default double nz()
Z coordinate of vertex normal, as a double.
-
u
default double u()
U value of vertex texture coordinate, as a double.
-
v
default double v()
V value of vertex texture coordinate, as a double.
-
localize
default void localize(float[] position)
- Specified by:
localizein interfaceRealLocalizable
-
localize
default void localize(double[] position)
- Specified by:
localizein interfaceRealLocalizable
-
getFloatPosition
default float getFloatPosition(int d)
- Specified by:
getFloatPositionin interfaceRealLocalizable
-
getDoublePosition
default double getDoublePosition(int d)
- Specified by:
getDoublePositionin interfaceRealLocalizable
-
numDimensions
default int numDimensions()
- Specified by:
numDimensionsin interfaceEuclideanSpace
-
-