Uses of Class
org.anchoranalysis.spatial.point.Point2d
| Package | Description |
|---|---|
| org.anchoranalysis.spatial.point |
A cartesian-coordinate, across varying primitive types, in 2D and 3D space.
|
-
Uses of Point2d in org.anchoranalysis.spatial.point
Methods in org.anchoranalysis.spatial.point that return Point2d Modifier and Type Method Description static Point2dPointConverter. doubleFromFloat(Point2f point)Point2dRunningSumPoint. meanXY()The mean value of all points added to the running-sum, only for the X- and Y-dimensions.Methods in org.anchoranalysis.spatial.point with parameters of type Point2d Modifier and Type Method Description voidPoint2d. add(Point2d toAdd)Arithmetically adds aPoint2d's values across each dimension.static Point3dPointConverter. convertTo3d(Point2d point)doublePoint2d. distance(Point2d point)The square of the Euclidean distance between this point and anotherPoint2d.doublePoint2d. distanceSquared(Point2d point)The square of the Euclidean distance between this point and anotherPoint2d.static Point2fPointConverter. floatFromDouble(Point2d point)voidRunningSumPoint. increment(Point2d point)Increments the running-sum by aPoint2d.static Point2iPointConverter. intFromDoubleFloor(Point2d point)Constructors in org.anchoranalysis.spatial.point with parameters of type Point2d Constructor Description Point2d(Point2d point)Creates with the same values as an existingPoint2d.