Uses of Class
org.anchoranalysis.spatial.point.Point3d
Packages that use Point3d
Package
Description
Axis-aligned bounding-boxes and related operations.
Various methods to specify the orientation (general direction) of an entity.
A cartesian-coordinate, across varying primitive types, in 2D and 3D space.
How to much to scale an entity in Cartesian space by.
-
Uses of Point3d in org.anchoranalysis.spatial.box
Methods in org.anchoranalysis.spatial.box that return Point3dModifier and TypeMethodDescriptionBoundingBox.midpoint()A mid-point in the bounding box, corresponding to the exact half-way point between(corner+extent)/2.Methods in org.anchoranalysis.spatial.box with parameters of type Point3dModifier and TypeMethodDescriptionbooleanIs a point of typePoint3dcontained within the extent?static BoundingBoxBoundingBox.createReuse(Point3d cornerMinInclusive, Point3d cornerMaxInclusive) Creates from twodoublepoints (a minimum corner and a maximum corner). -
Uses of Point3d in org.anchoranalysis.spatial.orientation
Methods in org.anchoranalysis.spatial.orientation that return Point3dModifier and TypeMethodDescriptionRotationMatrix.column(int columnIndex) Extracts a column from the rotation-matrix as a point.RotationMatrix.rotatePoint(Tuple3d point) Performs a rotation on a single point, encoded as aPoint3d.Methods in org.anchoranalysis.spatial.orientation with parameters of type Point3dModifier and TypeMethodDescriptionstatic DirectionVectorDirectionVector.createBetweenTwoPoints(Point3d point1, Point3d point2) Creates aDirectionVectorrepresenting the direction between two points of typePoint3d.voidRotationMatrix.rotatePointInplace(Point3d point) Performs a rotation on a single point, replacing the existing value of the point. -
Uses of Point3d in org.anchoranalysis.spatial.point
Methods in org.anchoranalysis.spatial.point that return Point3dModifier and TypeMethodDescriptionstatic Point3dPointConverter.convertTo3d(Point2d point) static Point3dPointConverter.double3DFromFloat(Point2f point) static Point3dPointConverter.doubleFromFloat(Point3f point) static Point3dPointConverter.doubleFromInt(Point2i point) static Point3dPointConverter.doubleFromInt(ReadableTuple3i point) Convert aReadableTuple3ito aPoint3d.Point3d.dropZ()Creates a new point with identical x and y values, but with z set to 0.static Point3dPoint3d.immutableAdd(Point3d point, int x, int y, int z) Adds values to a point immutably.static Point3dPoint3d.immutableAdd(Tuple3d tuple1, Tuple3d tuple2) Adds two tuples immutably.static Point3dPoint3d.immutableScale(Tuple3d tuple, int factor) Scales a tuple immutably.static Point3dPoint3d.immutableSubtract(Tuple3d tuple, Tuple3d toSubtract) static Point3dPoint3d.immutableSubtract(Tuple3i tuple, Tuple3d toSubtract) Point3d.max(double val) Element-wise maximum between this point and a scalar.Element-wise maximum between this point and another.RunningSumPoint.mean()The mean value of all points added to the running-sum, separately for all three-dimensions.Point3d.min(ReadableTuple3i point) Element-wise minimum between this point and another.Element-wise minimum between this point and another.Methods in org.anchoranalysis.spatial.point that return types with arguments of type Point3dModifier and TypeMethodDescriptionPointConverter.convert2iTo3d(List<Point2i> points) PointConverter.convert3fTo3d(List<Point3f> points) Methods in org.anchoranalysis.spatial.point with parameters of type Point3dModifier and TypeMethodDescriptiondoubleThe Euclidean distance between this point and anotherPoint3d.doublePoint3d.distanceSquared(Point3d point) The square of the Euclidean distance between this point and anotherPoint3d.doublePoint3i.distanceSquared(Point3d point) The square of the Euclidean distance between this point and anotherPoint3d.booleanPoint3d.equalsTolerance(Point3d other, double delta) Checks if this point is equal to anotherPoint3daccepting a tolerance between double values.static Point3fPointConverter.floatFromDouble(Point3d point) static Point3dPoint3d.immutableAdd(Point3d point, int x, int y, int z) Adds values to a point immutably.voidIncrements the running-sum by aPoint3d.static Point3iPointConverter.intFromDouble(Point3d point, boolean round) static Point3iPointConverter.intFromDoubleCeil(Point3d point) static Point3iPointConverter.intFromDoubleFloor(Point3d point) Method parameters in org.anchoranalysis.spatial.point with type arguments of type Point3d -
Uses of Point3d in org.anchoranalysis.spatial.scale
Methods in org.anchoranalysis.spatial.scale with parameters of type Point3d