public abstract class Mesh extends java.util.Vector<Mesh.Vertex> implements usf.saav.common.algorithm.Surface1D
Modifier and Type | Class and Description |
---|---|
static interface |
Mesh.Vertex
The Interface Vertex.
|
Constructor and Description |
---|
Mesh()
Instantiates a new mesh.
|
Modifier and Type | Method and Description |
---|---|
static float[] |
getComponentMidpoint(Mesh.Vertex c,
int width,
int height)
Gets the component midpoint.
|
static float[] |
getComponentMidpoint(Mesh.Vertex c,
ScalarFieldND sf)
Gets the component midpoint.
|
int |
getWidth() |
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, forEach, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, iterator, lastElement, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeIf, replaceAll, retainAll, set, setElementAt, setSize, size, sort, spliterator, subList, toArray, toArray, toString, trimToSize
public int getWidth()
getWidth
in interface usf.saav.common.algorithm.Surface1D
public static float[] getComponentMidpoint(Mesh.Vertex c, ScalarFieldND sf)
c
- the csf
- the sfpublic static float[] getComponentMidpoint(Mesh.Vertex c, int width, int height)
c
- the cwidth
- the widthheight
- the height