Serialized Form
-
Package org.anchoranalysis.spatial.axis
-
Class org.anchoranalysis.spatial.axis.AxisConversionException extends AnchorFriendlyCheckedException implements Serializable
- serialVersionUID:
- 1L
-
-
Package org.anchoranalysis.spatial.box
-
Class org.anchoranalysis.spatial.box.BoundingBox extends Object implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
cornerMaxExclusive
Point3i cornerMaxExclusive
The top-right corner of the bounding box (exclusive).This is
cornerMaxInclusivewith 1 added in each dimension.It is calculated lazily when first needed by
BoundingBox.calculateCornerMaxExclusive(). -
cornerMaxInclusive
Point3i cornerMaxInclusive
The top-right corner of the bounding box (inclusive).This the maximum valid point in all dimensions for the bounding-box.
It is calculated lazily when first needed by
BoundingBox.calculateCornerMaxInclusive(). -
cornerMin
Point3i cornerMin
The bottom-left corner of the bounding box.This the minimum point in all dimensions for the bounding-box.
-
extent
Extent extent
Dimensions in pixels needed to represent the bounding box.This emanates in a positive direction from
cornerMinto define the complete box.
-
-
Class org.anchoranalysis.spatial.box.Extent extends Object implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
areaXY
int areaXY
Size in X multiplied by size in Y.This may be convenient for calculating offsets and for iterations.
Note if the area is too large to be stored as an int, a -1 is stored instead. This should be checked for, with an appropriate error message, or alternative behavior occurring in these instances.
We avoid storing the area as a long, as it would create computational overhead in the vast bulk of cases where an int is sufficient, especially for operations like calculating offsets that may occur repeatedly in a loop. It is preferable to handle the outlier cases of very large areas separately.
-
size
ReadableTuple3i size
Sizes in each dimension.
-
-
-
Package org.anchoranalysis.spatial.orientation
-
Class org.anchoranalysis.spatial.orientation.Orientation extends Object implements Serializable
- serialVersionUID:
- 1L
-
Class org.anchoranalysis.spatial.orientation.Orientation2D extends Orientation implements Serializable
- serialVersionUID:
- 1528190376087281572L
-
Serialized Fields
-
angleRadians
double angleRadians
The angle of the rotation in the 2D plane anti-clockwise, in radians.
-
-
Class org.anchoranalysis.spatial.orientation.Orientation3DEulerAngles extends Orientation implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
rotationX
double rotationX
Rotation around X-dimension (in radians) anti-clockwise.This is the alpha parameter.
-
rotationY
double rotationY
Rotation around Y-dimension (in radians) anti-clockwise.This is the beta parameter.
-
rotationZ
double rotationZ
Rotation around Z-dimension (in radians) anti-clockwise.This is the gamma parameter.
-
-
Class org.anchoranalysis.spatial.orientation.OrientationAxisAngle extends Orientation implements Serializable
- serialVersionUID:
- -2592680414423106545L
-
Serialized Fields
-
angle
double angle
Angle part of axis-angle orientation (anti-clock in radians). -
axis
Vector3d axis
Axis part of axis-angle orientation (should be normalized). Once this is passed here, it is consumed, and must not be changed elsewhere.
-
-
Class org.anchoranalysis.spatial.orientation.OrientationRotationMatrix extends Orientation implements Serializable
- serialVersionUID:
- -496736778234811706L
-
Serialized Fields
-
rotationMatrix
RotationMatrix rotationMatrix
The rotation-matrix. Once used here, it must be treated as immutable, and its state may not be changed elsewhere.
-
-
Class org.anchoranalysis.spatial.orientation.RotationMatrix extends Object implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
delegate
cern.colt.matrix.DoubleMatrix2D delegate
The underlying matrix implementing the rotation.This name is deliberately kept as
delegateto avoid breaking serialized objects. -
singlePoint
cern.colt.matrix.DoubleMatrix2D singlePoint
Used temporarily to store the value of a single-point, to avoid unnecessary heap allocation.
-
-
-
Package org.anchoranalysis.spatial.point
-
Class org.anchoranalysis.spatial.point.Point2d extends Object implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
x
double x
X-axis component of point. -
y
double y
Y-axis component of point.
-
-
Class org.anchoranalysis.spatial.point.Point2f extends Object implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
x
float x
X-axis component of point. -
y
float y
Y-axis component of point.
-
-
Class org.anchoranalysis.spatial.point.Point2i extends Object implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
x
int x
X-axis component of point. -
y
int y
Y-axis component of point.
-
-
Class org.anchoranalysis.spatial.point.Point3d extends Tuple3d implements Serializable
- serialVersionUID:
- 1L
-
Class org.anchoranalysis.spatial.point.Point3f extends Tuple3f implements Serializable
- serialVersionUID:
- 1L
-
Class org.anchoranalysis.spatial.point.Point3i extends Tuple3i implements Serializable
- serialVersionUID:
- 1L
-
Class org.anchoranalysis.spatial.point.Tuple3d extends Object implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
x
double x
X-axis component of the tuple. -
y
double y
Y-axis component of the tuple. -
z
double z
Z-axis component of the tuple.
-
-
Class org.anchoranalysis.spatial.point.Tuple3f extends Object implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
x
float x
X-axis component of the tuple. -
y
float y
Y-axis component of the tuple. -
z
float z
Z-axis component of the tuple.
-
-
Class org.anchoranalysis.spatial.point.Tuple3i extends Object implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
x
int x
X-axis component of the tuple. -
y
int y
Y-axis component of the tuple. -
z
int z
Z-axis component of the tuple.
-
-
Class org.anchoranalysis.spatial.point.Vector3d extends Tuple3d implements Serializable
- serialVersionUID:
- 1L
-