Package net.preibisch.mvrecon.vecmath
Class Point3i
java.lang.Object
net.preibisch.mvrecon.vecmath.Tuple3i
net.preibisch.mvrecon.vecmath.Point3i
- All Implemented Interfaces:
Serializable,Cloneable
A 3 element point represented by signed integer x,y,z coordinates.
- Since:
- vecmath 1.2
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionPoint3i()Constructs and initializes a Point3i to (0,0,0).Point3i(int[] t) Constructs and initializes a Point3i from the array of length 3.Point3i(int x, int y, int z) Constructs and initializes a Point3i from the specified x, y, and z coordinates.Constructs and initializes a Point3i from the specified Tuple3i. -
Method Summary
Methods inherited from class net.preibisch.mvrecon.vecmath.Tuple3i
absolute, absolute, add, add, clamp, clamp, clampMax, clampMax, clampMin, clampMin, clone, equals, get, get, getX, getY, getZ, hashCode, negate, negate, scale, scale, scaleAdd, scaleAdd, set, set, set, setX, setY, setZ, sub, sub, toString
-
Constructor Details
-
Point3i
public Point3i(int x, int y, int z) Constructs and initializes a Point3i from the specified x, y, and z coordinates.- Parameters:
x- the x coordinatey- the y coordinatez- the z coordinate
-
Point3i
public Point3i(int[] t) Constructs and initializes a Point3i from the array of length 3.- Parameters:
t- the array of length 3 containing x, y, and z in order.
-
Point3i
Constructs and initializes a Point3i from the specified Tuple3i.- Parameters:
t1- the Tuple3i containing the initialization x, y, and z data.
-
Point3i
public Point3i()Constructs and initializes a Point3i to (0,0,0).
-