public class Point3DIntList
extends java.lang.Object
VoxelArray.paintAlongPath(Point3DIntList, VoxelArray, int, int, int)
method.Modifier and Type | Field and Description |
---|---|
private BoundingBox3DFloat |
boundingBox
Bounding box of the shape.
|
private boolean |
boundingBoxNeedsRecalculation
A flag indicating if the BoundingBox needs recalculation.
|
java.util.Vector<Point3DInt> |
points
The vector of points
|
private int |
recalculateFrom
The index to start recalculating the bounding box from.
|
Constructor and Description |
---|
Point3DIntList()
Construct a point list with no initial points.
|
Modifier and Type | Method and Description |
---|---|
void |
addPoint(int x,
int y,
int z)
Adds a point to this shape.
|
void |
addPoint(Point3DInt point)
Adds a point to this shape.
|
BoundingBox3DFloat |
getBoundingBox()
Returns the Bounding box of the object.
|
Point3DInt |
getPoint(int index)
Gets the specified point.
|
int |
getPointCount()
Returns the number of points contained here.
|
private void |
recalculateBoundingBox()
Recalculates the BoundingBox for this shape.
|
public java.util.Vector<Point3DInt> points
private boolean boundingBoxNeedsRecalculation
private int recalculateFrom
private BoundingBox3DFloat boundingBox
public Point3DIntList()
public void addPoint(int x, int y, int z)
public void addPoint(Point3DInt point)
public int getPointCount()
public Point3DInt getPoint(int index)
public BoundingBox3DFloat getBoundingBox()
private void recalculateBoundingBox()