Uses of Interface
org.anchoranalysis.spatial.point.ReadableTuple3i
| Package | Description |
|---|---|
| org.anchoranalysis.spatial.box |
Axis-aligned bounding-boxes and related operations.
|
| org.anchoranalysis.spatial.point |
A cartesian-coordinate, across varying primitive types, in 2D and 3D space.
|
| org.anchoranalysis.spatial.rtree |
R-Tree data structure and related operations.
|
-
Uses of ReadableTuple3i in org.anchoranalysis.spatial.box
Methods in org.anchoranalysis.spatial.box that return ReadableTuple3i Modifier and Type Method Description ReadableTuple3iExtent. asTuple()Exposes the extent as a tuple.ReadableTuple3iBoundingBox. calculateCornerMaxExclusive()The maximum (right-most) point just outside the box.ReadableTuple3iBoundingBox. calculateCornerMaxInclusive()The maximum (right-most) point inside the box.ReadableTuple3iBoundingBox. cornerMin()The minimum corner of the bounding box in each dimension.Methods in org.anchoranalysis.spatial.box with parameters of type ReadableTuple3i Modifier and Type Method Description voidPointRange. add(ReadableTuple3i point)Adds a new point to be considered in the range.booleanExtent. contains(ReadableTuple3i point)Is a point of typeReadableTuple3icontained within the extent?static BoundingBoxBoundingBox. createDuplicate(ReadableTuple3i cornerMin, Extent extent)Creates a bounding-box from a corner and an extent - duplicatingcornerMin.static BoundingBoxBoundingBox. createDuplicate(ReadableTuple3i cornerMinInclusive, ReadableTuple3i cornerMaxInclusive)Creates from twointpoints (a minimum corner and a maximum corner) - reusingcornerMinInclusiveinternally.static ExtentExtent. createFromTupleDuplicate(ReadableTuple3i tuple)Creates from aReadableTuple3irepresenting the sizes in each dimension, where the tuple is not used internally.static ExtentExtent. createFromTupleReuse(ReadableTuple3i tuple)Creates from aReadableTuple3irepresenting the sizes in each dimension, where the tuple is used internally.static BoundingBoxBoundingBox. createReuse(ReadableTuple3i cornerMin, Extent extent)Creates a bounding-box from a corner and an extent - reusingcornerMininternally.static BoundingBoxBoundingBox. createReuse(ReadableTuple3i cornerMinInclusive, ReadableTuple3i cornerMaxInclusive)Creates from twointpoints (a minimum corner and a maximum corner) - reusingcornerMinInclusiveinternally.ExtentExtent. growBy(ReadableTuple3i toAdd)Creates a newExtentwithtoAddsize added to each respective dimension.intExtent. offset(ReadableTuple3i point)Calculates a XYZ-offset of a point in a buffer whose dimensions are this extent.intExtent. offsetSlice(ReadableTuple3i point)Calculates a XY-offset of a point in a buffer whose dimensions are this extent.booleanBoundingBoxContains. point(ReadableTuple3i point)Is this point within the bounding-box?BoundingBoxBoundingBox. shiftBackBy(ReadableTuple3i shift)Shifts the bounding-box backwards.BoundingBoxBoundingBox. shiftBy(ReadableTuple3i shift)Shifts the bounding-box forwards.BoundingBoxBoundingBox. shiftTo(ReadableTuple3i cornerMinToAssign)Assigns a new corner-location to the bounding-box.ExtentExtent. shrinkBy(ReadableTuple3i toSubtract)Creates a newExtentwithtoSubtractsize subtracted from each respective dimension. -
Uses of ReadableTuple3i in org.anchoranalysis.spatial.point
Classes in org.anchoranalysis.spatial.point that implement ReadableTuple3i Modifier and Type Class Description classPoint3iA three-dimensional point of int values.classTuple3iA three-dimensional tuple of int values.Methods in org.anchoranalysis.spatial.point that return ReadableTuple3i Modifier and Type Method Description ReadableTuple3iReadableTuple3i. duplicateChangeZ(int zValueToAssign)Creates a copy of the current tuple, but with a different Z-component value.Methods in org.anchoranalysis.spatial.point with parameters of type ReadableTuple3i Modifier and Type Method Description voidTuple3d. add(ReadableTuple3i toAdd)Arithmetically adds aReadableTuple3i's values across each dimension.voidTuple3i. add(ReadableTuple3i toAdd)Arithmetically adds aReadableTuple3i's values across each dimension.default intReadableTuple3i. compareTo(ReadableTuple3i other)static Point3dPointConverter. doubleFromInt(ReadableTuple3i point)Convert aReadableTuple3ito aPoint3d.static Point3iPoint3i. elementwiseOperation(ReadableTuple3i tuple1, ReadableTuple3i tuple2, IntBinaryOperator operator)Creates a new point by applying a pairwise operation to each dimension's values for two tuples.static Point3fPointConverter. floatFromInt(ReadableTuple3i point)Convert aReadableTuple3ito aPoint3f.static Point3fPointConverter. floatFromIntDropZ(ReadableTuple3i point)Creates aReadableTuple3ito aPoint3f, preserving X- and Y-components but set setting the Z-component to be0.static Point3iPoint3i. immutableAdd(ReadableTuple3i tuple, int x, int y, int z)Adds values to a tuple immutably.static Point3iPoint3i. immutableAdd(ReadableTuple3i tuple1, ReadableTuple3i tuple2)Adds two tuples immutably.static Point3iPoint3i. immutableAdd(ReadableTuple3i tuple1, ReadableTuple3i tuple2, ReadableTuple3i tuple3)Adds three tuples immutably.static Point3iPoint3i. immutableScale(ReadableTuple3i point, int factor)Multiplies each component byfactorwithout changing any values in an existing point.static Point3iPoint3i. immutableSubtract(ReadableTuple3i tuple, ReadableTuple3i toSubtract)Subtracts two tuples immutably.default booleanReadableTuple3i. matchAllDimensions(ReadableTuple3i point, IntBinaryPredicate predicate)Whether the values in each dimension satisfy a predicate, where the value in the current object is the left argument, and the corresponding value inpointforms the right argument.Point3iTuple3i. max(ReadableTuple3i point)Element-wise maximum between this point and another.Point3dPoint3d. min(ReadableTuple3i point)Element-wise minimum between this point and another.Point3iTuple3i. min(ReadableTuple3i point)Element-wise minimum between this point and another.voidTuple3i. subtract(ReadableTuple3i valueToSubtract)Arithmetically subtracts a value across each dimension.Constructors in org.anchoranalysis.spatial.point with parameters of type ReadableTuple3i Constructor Description Point3i(ReadableTuple3i point)Creates with the same values as an existingReadableTuple3i. -
Uses of ReadableTuple3i in org.anchoranalysis.spatial.rtree
Methods in org.anchoranalysis.spatial.rtree with parameters of type ReadableTuple3i Modifier and Type Method Description Set<T>BoundingBoxRTree. contains(ReadableTuple3i point)Which objects contain a particular point?Stream<T>BoundingBoxRTree. containsStream(ReadableTuple3i point)LikeBoundingBoxRTree.contains(org.anchoranalysis.spatial.point.ReadableTuple3i)but returns aStreaminstead of aSet.