Uses of Class
org.anchoranalysis.spatial.point.Point3d
| 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 Point3d in org.anchoranalysis.spatial.box
Methods in org.anchoranalysis.spatial.box that return Point3d Modifier and Type Method Description Point3dBoundingBox. 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 Point3d Modifier and Type Method Description booleanExtent. contains(Point3d point)Is 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 Point3d Modifier and Type Method Description Point3dRotationMatrix. column(int columnIndex)Extracts a column from the rotation-matrix as a point.Point3dRotationMatrix. rotatePoint(Tuple3d point)Performs a rotation on a single point, encoded as aPoint3d.Methods in org.anchoranalysis.spatial.orientation with parameters of type Point3d Modifier and Type Method Description static 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 Point3d Modifier and Type Method Description static 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.Point3dPoint3d. 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)Point3dPoint3d. max(double val)Element-wise maximum between this point and a scalar.Point3dPoint3d. max(Tuple3d point)Element-wise maximum between this point and another.Point3dRunningSumPoint. mean()The mean value of all points added to the running-sum, separately for all three-dimensions.Point3dPoint3d. min(ReadableTuple3i point)Element-wise minimum between this point and another.Point3dPoint3d. min(Tuple3d point)Element-wise minimum between this point and another.Methods in org.anchoranalysis.spatial.point that return types with arguments of type Point3d Modifier and Type Method Description static List<Point3d>PointConverter. convert2iTo3d(List<Point2i> points)static List<Point3d>PointConverter. convert3fTo3d(List<Point3f> points)Methods in org.anchoranalysis.spatial.point with parameters of type Point3d Modifier and Type Method Description doublePoint3d. distance(Point3d point)The 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.voidRunningSumPoint. increment(Point3d point)Increments the running-sum by aPoint3d.static Point3iPointConverter. intFromDouble(Point3d point, boolean round)static Point3iPointConverter. intFromDoubleCeil(Point3d point)static Point3iPointConverter. intFromDoubleFloor(Point3d point) -
Uses of Point3d in org.anchoranalysis.spatial.scale
Methods in org.anchoranalysis.spatial.scale with parameters of type Point3d Modifier and Type Method Description voidScaleFactor. scale(Point3d point)Multiplies aPoint3dby the respective scaling-factor in each X and Y dimensions.