public class Point
extends java.lang.Object
Constructor and Description |
---|
Point(int index)
Constructs a point for a given index.
|
Modifier and Type | Method and Description |
---|---|
Point |
clone() |
int |
getIndex() |
static java.util.List<Point> |
loadAll(Structure meshStructure)
Loads all points of the mesh that do not belong to any edge.
|
void |
shiftIndexes(int shift,
IndexesLoop.IndexPredicate predicate)
The method shifts the index by a given value.
|
public Point(int index)
index
- the index of the pointpublic Point clone()
clone
in class java.lang.Object
public int getIndex()
public void shiftIndexes(int shift, IndexesLoop.IndexPredicate predicate)
shift
- the value to shift the indexpredicate
- the predicate that verifies which indexes should be shifted; if null then all will be shiftedpublic static java.util.List<Point> loadAll(Structure meshStructure) throws BlenderFileException
meshStructure
- the mesh structureBlenderFileException
- an exception is thrown when problems with file reading occur