public class WorldVectorFace extends WorldVector
| Constructor and Description |
|---|
WorldVectorFace(LocalWorld world,
double x,
double y,
double z,
VectorFace face)
Construct the Vector object.
|
WorldVectorFace(LocalWorld world,
float x,
float y,
float z,
VectorFace face)
Construct the Vector object.
|
WorldVectorFace(LocalWorld world,
int x,
int y,
int z,
VectorFace face)
Construct the Vector object.
|
WorldVectorFace(LocalWorld world,
VectorFace face)
Construct the Vector object.
|
WorldVectorFace(LocalWorld world,
Vector pt,
VectorFace face)
Construct the Vector object.
|
| Modifier and Type | Method and Description |
|---|---|
VectorFace |
getFace()
Get the face.
|
WorldVector |
getFaceVector()
Get the WorldVector adjacent to this WorldVectorFace.
|
static WorldVectorFace |
getWorldVectorFace(LocalWorld world,
Vector vector,
Vector face)
Get a WorldVectorFace by comparing two vectors.
|
getWorld, toBlockPoint, toWorldBlockVectoradd, add, add, add, ceil, clampY, compareTo, containedWithin, containedWithinBlock, cross, distance, distanceSq, divide, divide, divide, divide, divide, divide, dot, equals, floor, getBlockX, getBlockY, getBlockZ, getMaximum, getMidpoint, getMinimum, getX, getY, getZ, hashCode, isCollinearWith, length, lengthSq, multiply, multiply, multiply, multiply, multiply, multiply, multiply, normalize, positive, round, setX, setX, setY, setY, setZ, setZ, subtract, subtract, subtract, subtract, toBlockPoint, toBlockPoint, toBlockVector, toString, toVector2D, transform2Dpublic WorldVectorFace(LocalWorld world, double x, double y, double z, VectorFace face)
world - x - y - z - face - public WorldVectorFace(LocalWorld world, int x, int y, int z, VectorFace face)
world - x - y - z - face - public WorldVectorFace(LocalWorld world, float x, float y, float z, VectorFace face)
world - x - y - z - face - public WorldVectorFace(LocalWorld world, Vector pt, VectorFace face)
world - pt - face - public WorldVectorFace(LocalWorld world, VectorFace face)
world - face - public VectorFace getFace()
public WorldVector getFaceVector()
public static WorldVectorFace getWorldVectorFace(LocalWorld world, Vector vector, Vector face)
world - the world in which the resulting vector should lievector - the original vectorface - the direction in which the face should lieCopyright © 2010-2014. All Rights Reserved.