Uses of Class
org.anchoranalysis.spatial.point.Point3i
| Package | Description |
|---|---|
| org.anchoranalysis.spatial.box |
Axis-aligned bounding-boxes and related operations.
|
| org.anchoranalysis.spatial.orientation |
Various methods to specify the orientation (general direction) of an entity.
|
| org.anchoranalysis.spatial.point |
A cartesian-coordinate, across varying primitive types, in 2D and 3D space.
|
| org.anchoranalysis.spatial.scale |
How to much to scale an entity in Cartesian space by.
|
-
Uses of Point3i in org.anchoranalysis.spatial.box
Methods in org.anchoranalysis.spatial.box that return Point3i Modifier and Type Method Description Point3iBoundingBox. centerOfGravity()A mid-point in the bounding-box, corresponding to the mean of all points inside the box.Point3iExtent. createMinusOne()Creates a newExtentwith each dimension decreased by one.Point3iBoundingBox. relativePositionTo(BoundingBox other)The relative position of the corner to another bounding box.Methods in org.anchoranalysis.spatial.box with parameters of type Point3i Modifier and Type Method Description booleanBoundingBoxContains. pointIgnoreZ(Point3i point)LikeBoundingBoxContains.point(ReadableTuple3i)but ignores the z-dimension. -
Uses of Point3i in org.anchoranalysis.spatial.orientation
Methods in org.anchoranalysis.spatial.orientation with parameters of type Point3i Modifier and Type Method Description static DirectionVectorDirectionVector. createBetweenTwoPoints(Point3i point1, Point3i point2)Creates aDirectionVectorrepresenting the direction between two points of typePoint3i. -
Uses of Point3i in org.anchoranalysis.spatial.point
Fields in org.anchoranalysis.spatial.point declared as Point3i Modifier and Type Field Description static Point3iPoint3i. ORIGINA constantPoint3iwhere all dimensions are zero.Methods in org.anchoranalysis.spatial.point that return Point3i Modifier and Type Method Description static Point3iPointConverter. convertTo3i(Point2i point)static Point3iPointConverter. convertTo3i(Point2i point, int z)Point3iPoint3i. duplicateChangeZ(int zValueToAssign)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 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.static Point3iPointConverter. intFromDouble(Point3d point, boolean round)static Point3iPointConverter. intFromDoubleCeil(Point3d point)static Point3iPointConverter. intFromDoubleFloor(Point3d point)static Point3iPointConverter. intFromFloat(Point3f point, boolean round)Point3iTuple3i. max(int value)Element-wise maximum between this point and a scalar.Point3iTuple3i. max(ReadableTuple3i point)Element-wise maximum between this point and another.Point3iTuple3i. min(ReadableTuple3i point)Element-wise minimum between this point and another.Methods in org.anchoranalysis.spatial.point that return types with arguments of type Point3i Modifier and Type Method Description static List<Point3i>PointConverter. convert3i(List<Point3d> points)static List<Point3i>PointConverter. convert3i(List<Point3f> points, boolean round)List<Point3i>Contour. pointsDiscrete()All the points in the contour, converted intoPoint3i.Methods in org.anchoranalysis.spatial.point with parameters of type Point3i Modifier and Type Method Description static booleanPointsNeighborChecker. arePointsNeighbors(Point3i point1, Point3i point2)Do two points have a big neighbor relationship to each other?doublePoint3i. distance(Point3i point)The Euclidean distance between this point and another.intPoint3i. distanceMax(Point3i point)The maximum distance across any individual axis to another point.doublePoint3d. distanceSquared(Point3i point)The square of the Euclidean distance between this point and anotherPoint3i.intPoint3i. distanceSquared(Point3i point)The square of the Euclidean distance between this point and anotherPoint3i.voidRunningSumPoint. increment(Point3i point)Increments the running-sum by aPoint3i.Method parameters in org.anchoranalysis.spatial.point with type arguments of type Point3i Modifier and Type Method Description static booleanPointsNeighborChecker. areAllPointsInBigNeighborhood(List<Point3i> list)Are all points in a list neighboring the next point in the list?static List<Point3f>PointConverter. convert3iTo3f(List<Point3i> points) -
Uses of Point3i in org.anchoranalysis.spatial.scale
Methods in org.anchoranalysis.spatial.scale that return Point3i Modifier and Type Method Description static Point3iScaler. scale(ScaleFactor scalingFactor, Point3i point)Scales a point in XY by multiplying each dimension by its corresponding scaling-factor.static Point3iScaler. scaleCeil(ScaleFactor scalingFactor, Point3i point)Scales a point in XY by multiplying each dimension by its corresponding scaling-factor.Methods in org.anchoranalysis.spatial.scale with parameters of type Point3i Modifier and Type Method Description static Point3iScaler. scale(ScaleFactor scalingFactor, Point3i point)Scales a point in XY by multiplying each dimension by its corresponding scaling-factor.static Point3iScaler. scaleCeil(ScaleFactor scalingFactor, Point3i point)Scales a point in XY by multiplying each dimension by its corresponding scaling-factor.