Uses of Class
squidpony.squidmath.Coord3D
Package | Description |
---|---|
squidpony.squidgrid |
Tools for working with data on a grid, including LOS and FOV; overlaps with geometry code in squidpony.squidmath .
|
squidpony.squidmath |
A very broad package containing random number generators, geometry tools, data structures, and noise functions.
|
-
Uses of Coord3D in squidpony.squidgrid
Methods in squidpony.squidgrid that return Coord3D Modifier and Type Method Description Coord3D
Radius. onUnitShape3D(double distance, IRNG rng)
-
Uses of Coord3D in squidpony.squidmath
Methods in squidpony.squidmath that return Coord3D Modifier and Type Method Description static Coord3D
Coord3D. get(int x, int y, int z)
static Coord3D
VanDerCorputQRNG. halton(int width, int height, int depth, int index)
Convenience method that gets a quasi-random Coord3D between integer (0,0,0) inclusive and (width,height,depth) exclusive.static Coord3D
CoordPacker. mortonDecode3D(int morton)
Methods in squidpony.squidmath that return types with arguments of type Coord3D Modifier and Type Method Description static Queue<Coord3D>
Bresenham. line3D(int startx, int starty, int startz, int endx, int endy, int endz)
Generates a 3D Bresenham line between the given coordinates.static Queue<Coord3D>
Bresenham. line3D(Coord3D a, Coord3D b)
Generates a 3D Bresenham line between two points.Methods in squidpony.squidmath with parameters of type Coord3D Modifier and Type Method Description double
Coord3D. distance(Coord3D other)
Returns the linear distance between this coordinate point and the provided one.static Queue<Coord3D>
Bresenham. line3D(Coord3D a, Coord3D b)
Generates a 3D Bresenham line between two points.int
Coord3D. manhattanDistance(Coord3D other)
Returns the Manhattan distance between this point and the provided one.int
Coord3D. maxAxisDistance(Coord3D other)
Returns the largest difference between the two points along any one axis.double
Coord3D. squareDistance(Coord3D other)
Returns the square of the linear distance between this coordinate point and the provided one.