Package com.fastasyncworldedit.core.math
Class MutableVector3
java.lang.Object
com.sk89q.worldedit.math.Vector3
com.fastasyncworldedit.core.math.MutableVector3
-
Field Summary
-
Constructor Summary
ConstructorDescriptionMutableVector3
(double x, double y, double z) MutableVector3
(float x, float y, float z) MutableVector3
(Vector3 other) -
Method Summary
Modifier and TypeMethodDescriptionstatic MutableVector3
get
(double x, double y, double z) static MutableVector3
get
(int x, int y, int z) double
getX()
Get the X coordinate.double
getY()
Get the Y coordinate.double
getZ()
Get the Z coordinate.mutX
(double x) mutX
(int x) mutY
(double y) mutY
(int y) mutZ
(double z) mutZ
(int z) setComponents
(double x, double y, double z) setComponents
(int x, int y, int z) setComponents
(Vector3 other) Methods inherited from class com.sk89q.worldedit.math.Vector3
abs, add, add, add, at, ceil, clampY, containedWithin, cross, distance, distanceSq, divide, divide, divide, dot, equals, equalsFuzzy, floor, getBlockX, getBlockY, getBlockZ, getMaximum, getMinimum, hashCode, length, lengthSq, multiply, multiply, multiply, multiply, normalize, round, roundHalfUp, sortByCoordsYzx, subtract, subtract, subtract, toBlockPoint, toBlockPoint, toParserString, toPitch, toString, toVector2, toYaw, transform2D, withX, withY, withZ
-
Constructor Details
-
MutableVector3
public MutableVector3() -
MutableVector3
public MutableVector3(double x, double y, double z) -
MutableVector3
public MutableVector3(float x, float y, float z) -
MutableVector3
-
-
Method Details
-
get
-
get
-
setComponents
- Overrides:
setComponents
in classVector3
-
setComponents
- Overrides:
setComponents
in classVector3
-
setComponents
- Overrides:
setComponents
in classVector3
-
mutX
-
mutX
-
mutY
-
mutY
-
mutZ
-
mutZ
-
getX
public double getX()Description copied from class:Vector3
Get the X coordinate. -
getY
public double getY()Description copied from class:Vector3
Get the Y coordinate. -
getZ
public double getZ()Description copied from class:Vector3
Get the Z coordinate.
-