Uses of Class
org.anchoranalysis.spatial.point.Point2i
| 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.point.consumer |
Functional interfaces that accept cartesian coordinate points specified in different ways.
|
| org.anchoranalysis.spatial.scale |
How to much to scale an entity in Cartesian space by.
|
-
Uses of Point2i in org.anchoranalysis.spatial.box
Methods in org.anchoranalysis.spatial.box with parameters of type Point2i Modifier and Type Method Description booleanExtent. contains(Point2i point)Is a point of typePoint2icontained within the extent in the XY plane?voidExtent. iterateOverXYWithShift(Point2i shift, PointTwoDimensionalConsumer pointConsumer)Calls processor once for each x and y-values in the range, with a shift added.intExtent. offset(Point2i point)Calculates a XY-offset of a point in a buffer whose dimensions are this extent. -
Uses of Point2i in org.anchoranalysis.spatial.point
Methods in org.anchoranalysis.spatial.point that return Point2i Modifier and Type Method Description static Point2iPoint2i. immutableAdd(Point2i point1, Point2i point2)Adds two points immutably.static Point2iPointConverter. intFromDoubleFloor(Point2d point)Methods in org.anchoranalysis.spatial.point with parameters of type Point2i Modifier and Type Method Description voidPoint2d. add(Point2i toAdd)Arithmetically adds aPoint2i's values across each dimension.voidPoint2i. add(Point2i point)Adds values from aPoint2iacross each corresponding dimension.static Point3iPointConverter. convertTo3i(Point2i point)static Point3iPointConverter. convertTo3i(Point2i point, int z)static Point3dPointConverter. doubleFromInt(Point2i point)static Point3fPointConverter. floatFromInt(Point2i point)static Point2iPoint2i. immutableAdd(Point2i point1, Point2i point2)Adds two points immutably.voidRunningSumPoint. increment(Point2i point)Increments the running-sum by aPoint2i.Method parameters in org.anchoranalysis.spatial.point with type arguments of type Point2i Modifier and Type Method Description static List<Point3d>PointConverter. convert2iTo3d(List<Point2i> points)static List<Point3f>PointConverter. convert2iTo3f(List<Point2i> points)Constructors in org.anchoranalysis.spatial.point with parameters of type Point2i Constructor Description Point2i(Point2i point)Creates with the same values as an existingPoint2i. -
Uses of Point2i in org.anchoranalysis.spatial.point.consumer
Methods in org.anchoranalysis.spatial.point.consumer with parameters of type Point2i Modifier and Type Method Description voidOffsettedPointTwoDimensionalConsumer. accept(Point2i point, int offset)Accepts a point like with aConsumerin general.voidPointTwoDimensionalConsumer. accept(Point2i point)Accepts a point like with aConsumerin general. -
Uses of Point2i in org.anchoranalysis.spatial.scale
Methods in org.anchoranalysis.spatial.scale that return Point2i Modifier and Type Method Description Point2iScaleFactorInt. scale(int x, int y)Multiplies a point by the respective scaling-factor in each dimension.Point2iScaleFactorInt. scale(Point2i point)Multiplies aPoint2iby the respective scaling-factor in each dimension.