Skip navigation links
A C D E F G H I L M N P Q R S T U V W X Y Z 

A

AaBBox - Class in com.simsilica.mathd
Axis-aligned bounding box with some convenience methods.
AaBBox() - Constructor for class com.simsilica.mathd.AaBBox
 
AaBBox(double) - Constructor for class com.simsilica.mathd.AaBBox
 
AaBBox(Vec3d, double) - Constructor for class com.simsilica.mathd.AaBBox
 
AaBBox(Vec3d, Vec3d) - Constructor for class com.simsilica.mathd.AaBBox
 
add(Quatd) - Method in class com.simsilica.mathd.Quatd
Adds the argument and returns the sum as a new instance.
add(Integer) - Method in class com.simsilica.mathd.util.IntRangeSet
 
add(int) - Method in class com.simsilica.mathd.util.IntRangeSet
 
add(Vec3d) - Method in class com.simsilica.mathd.Vec3d
Adds the argument and returns the sum as a new instance.
add(Vec3i) - Method in class com.simsilica.mathd.Vec3d
 
add(double, double, double) - Method in class com.simsilica.mathd.Vec3d
Adds specified amounts to the vector's components and returns the sum as a new instance.
add(int, int, int) - Method in class com.simsilica.mathd.Vec3i
 
add(Vec3i) - Method in class com.simsilica.mathd.Vec3i
 
add(Vec4d) - Method in class com.simsilica.mathd.Vec4d
 
add(double, double, double, double) - Method in class com.simsilica.mathd.Vec4d
 
addLocal(Matrix3d) - Method in class com.simsilica.mathd.Matrix3d
Adds the argument and returns the (modified) current instance.
addLocal(Quatd) - Method in class com.simsilica.mathd.Quatd
Adds the argument and returns the (modified) current instance.
addLocal(Vec3d) - Method in class com.simsilica.mathd.Vec3d
Adds the argument and returns the (modified) current instance.
addLocal(Vec3i) - Method in class com.simsilica.mathd.Vec3d
Adds the Vec3i argument and returns the (modified) current instance.
addLocal(double, double, double) - Method in class com.simsilica.mathd.Vec3d
Adds specified amounts to the vector's components and returns the (modified) current instance.
addLocal(Vec3i) - Method in class com.simsilica.mathd.Vec3i
 
addLocal(int, int, int) - Method in class com.simsilica.mathd.Vec3i
 
addLocal(Vec4d) - Method in class com.simsilica.mathd.Vec4d
 
addLocal(double, double, double, double) - Method in class com.simsilica.mathd.Vec4d
 
addScaledVectorLocal(Vec3d, double) - Method in class com.simsilica.mathd.Quatd
 
addScaledVectorLocal(Vec3d, double) - Method in class com.simsilica.mathd.Vec3d
 
addScaledVectorLocal(Vec4d, double) - Method in class com.simsilica.mathd.Vec4d
 
addTransition(T) - Method in class com.simsilica.mathd.trans.TransitionBuffer
 
addValue(double) - Method in interface com.simsilica.mathd.filter.Filterd
 
addValue(double) - Method in class com.simsilica.mathd.filter.SimpleMovingMean
 

C

ceil() - Method in class com.simsilica.mathd.Vec3d
Returns the Math.ceil() version of this Vec3d as a Vec3i.
cellToId(Vec3i) - Method in class com.simsilica.mathd.Grid
Converts the x, y, z cell location into a single composite long value.
cellToId(int, int, int) - Method in class com.simsilica.mathd.Grid
Converts the x, y, z cell location into a single composite long value.
cellToWorld(int, int, int) - Method in class com.simsilica.mathd.Grid
Returns the world location of the origin of the specified grid cell location as a Vec3i.
cellToWorld(int, int, int, Vec3i) - Method in class com.simsilica.mathd.Grid
Returns the world location of the origin of the specified grid cell location as a Vec3i, storing it in the specified 'store' argument.
cellToWorld(int, int, int, Vec3d) - Method in class com.simsilica.mathd.Grid
Returns the world location of the origin of the specified grid cell location as a Vec3d, storing it in the specified 'store' argument.
cellToWorld(Vec3i) - Method in class com.simsilica.mathd.Grid
Returns the world location of the origin of the specified grid cell location as a Vec3i, storing it in the specified 'store' argument.
cellToWorld(Vec3i, Vec3i) - Method in class com.simsilica.mathd.Grid
Returns the world location of the origin of the specified grid cell location as a Vec3i, storing it in the specified 'store' argument.
cellToWorld(Vec3i, Vec3d) - Method in class com.simsilica.mathd.Grid
Returns the world location of the origin of the specified grid cell location as a Vec3d, storing it in the specified 'store' argument.
clear() - Method in class com.simsilica.mathd.util.IntRangeSet
 
clone() - Method in class com.simsilica.mathd.AaBBox
 
clone() - Method in class com.simsilica.mathd.Matrix3d
Creates a copy of the current instance.
clone() - Method in class com.simsilica.mathd.Matrix4d
 
clone() - Method in class com.simsilica.mathd.Quatd
Creates a copy.
clone() - Method in class com.simsilica.mathd.Rayd
Creates a deep clone of this Ray that has its own origin and direction.
clone() - Method in class com.simsilica.mathd.Vec3d
Creates a copy.
clone() - Method in class com.simsilica.mathd.Vec3i
 
clone() - Method in class com.simsilica.mathd.Vec4d
 
com.simsilica.mathd - package com.simsilica.mathd
 
com.simsilica.mathd.bits - package com.simsilica.mathd.bits
 
com.simsilica.mathd.filter - package com.simsilica.mathd.filter
 
com.simsilica.mathd.trans - package com.simsilica.mathd.trans
 
com.simsilica.mathd.util - package com.simsilica.mathd.util
 
contains(Vec3d) - Method in class com.simsilica.mathd.GridCell
 
contains(double, double, double) - Method in class com.simsilica.mathd.GridCell
Returns true if this GridCell contains the specified world location where containment is in the range of min inclusive, max exclusive.
contains(Object) - Method in class com.simsilica.mathd.util.IntRangeSet
 
contains(int) - Method in class com.simsilica.mathd.util.IntRangeSet
 
containsTime(long) - Method in class com.simsilica.mathd.trans.PositionTransition
Deprecated.
 
containsTime(long) - Method in class com.simsilica.mathd.trans.PositionTransition3d
 
containsTime(long) - Method in class com.simsilica.mathd.trans.PositionTransition3f
 
containsTime(long) - Method in interface com.simsilica.mathd.trans.Transition
 
createBuffer(int) - Static method in class com.simsilica.mathd.trans.PositionTransition
Deprecated.
 
createBuffer(int) - Static method in class com.simsilica.mathd.trans.PositionTransition3d
 
createBuffer(int) - Static method in class com.simsilica.mathd.trans.PositionTransition3f
 
cross(Vec3d) - Method in class com.simsilica.mathd.Vec3d
Calculates a cross product with the argument and returns the product as a new instance.
cross(double, double, double) - Method in class com.simsilica.mathd.Vec3d
 
crossLocal(Vec3d) - Method in class com.simsilica.mathd.Vec3d
 

D

determinant() - Method in class com.simsilica.mathd.Matrix3d
Returns the determinant.
determinant() - Method in class com.simsilica.mathd.Matrix4d
 
distance(Vec3d) - Method in class com.simsilica.mathd.Vec3d
 
distance(double, double, double) - Method in class com.simsilica.mathd.Vec3d
 
distance(Vec4d) - Method in class com.simsilica.mathd.Vec4d
 
distanceSq(Vec3d, double) - Method in class com.simsilica.mathd.Rayd
Returns the squared-distance from the specified point to this ray, where the ray length is limited to the specified limit.
distanceSq(Vec3d) - Method in class com.simsilica.mathd.Vec3d
 
distanceSq(Vec3i) - Method in class com.simsilica.mathd.Vec3d
 
distanceSq(double, double, double) - Method in class com.simsilica.mathd.Vec3d
 
distanceSq(Vec4d) - Method in class com.simsilica.mathd.Vec4d
 
divide(double) - Method in class com.simsilica.mathd.Vec3d
Divides by the scalar argument and returns the quotient as a new instance.
divide(Vec3d) - Method in class com.simsilica.mathd.Vec3d
Divides component-wise by the argument and returns the quotient as a new instance.
divide(Vec3i) - Method in class com.simsilica.mathd.Vec3d
 
divide(double) - Method in class com.simsilica.mathd.Vec4d
 
divide(Vec4d) - Method in class com.simsilica.mathd.Vec4d
 
divideLocal(double) - Method in class com.simsilica.mathd.Vec3d
Divides by the argument and returns the (modified) current instance.
divideLocal(Vec3d) - Method in class com.simsilica.mathd.Vec3d
Divides component-wise by the argument and returns the (modified) current instance.
divideLocal(double) - Method in class com.simsilica.mathd.Vec4d
 
divideLocal(Vec4d) - Method in class com.simsilica.mathd.Vec4d
 
dot(Vec3d) - Method in class com.simsilica.mathd.Vec3d
Returns the dot (or inner) product with the argument.
dot(Vec3i) - Method in class com.simsilica.mathd.Vec3d
 
dot(double, double, double) - Method in class com.simsilica.mathd.Vec3d
 
dot(Vec4d) - Method in class com.simsilica.mathd.Vec4d
 
dot(double, double, double, double) - Method in class com.simsilica.mathd.Vec4d
 

E

equals(Object) - Method in class com.simsilica.mathd.GridCell
Returns true if the cell location and the parent grid are the same.
equals(Object) - Method in class com.simsilica.mathd.Matrix3d
Tests for exact equality with the argument, distinguishing -0 from 0.
equals(Object) - Method in class com.simsilica.mathd.Matrix4d
 
equals(Object) - Method in class com.simsilica.mathd.Quatd
Tests for exact equality with the argument, distinguishing -0 from 0.
equals(Object) - Method in class com.simsilica.mathd.Rayd
 
equals(Object) - Method in class com.simsilica.mathd.Vec3d
Tests for exact equality with the argument, distinguishing -0 from 0.
equals(Object) - Method in class com.simsilica.mathd.Vec3i
 
equals(Object) - Method in class com.simsilica.mathd.Vec4d
 

F

Filterd - Interface in com.simsilica.mathd.filter
Represents a double-based filter over a series of data events.
FixedIntRange - Class in com.simsilica.mathd.util
 
FixedIntRange(int, int) - Constructor for class com.simsilica.mathd.util.FixedIntRange
 
FloatBits - Class in com.simsilica.mathd.bits
 
FloatBits(float, float, int) - Constructor for class com.simsilica.mathd.bits.FloatBits
 
floor() - Method in class com.simsilica.mathd.Vec3d
Returns the Math.floor() version of this Vec3d as a Vec3i.
fromAngles(double[]) - Method in class com.simsilica.mathd.Quatd
Builds a Quaternion from the Euler rotation angles (x,y,z) aka (pitch, yaw, roll).
fromAngles(double, double, double) - Method in class com.simsilica.mathd.Quatd
Builds a Quaternion from the Euler rotation angles (x,y,z) aka (pitch, yaw, roll).
fromBits(long) - Method in class com.simsilica.mathd.bits.FloatBits
 
fromBits(long) - Method in class com.simsilica.mathd.bits.QuatBits
 
fromBits(long) - Method in class com.simsilica.mathd.bits.Vec3Bits
 

G

get(int) - Method in class com.simsilica.mathd.Quatd
Returns the indexed component.
get(int) - Method in class com.simsilica.mathd.Vec3d
Returns the indexed component.
get(int) - Method in class com.simsilica.mathd.Vec3i
 
get(int) - Method in class com.simsilica.mathd.Vec4d
 
getBitSize() - Method in class com.simsilica.mathd.bits.FloatBits
 
getBitSize() - Method in class com.simsilica.mathd.bits.QuatBits
 
getBitSize() - Method in class com.simsilica.mathd.bits.Vec3Bits
 
getCell() - Method in class com.simsilica.mathd.GridCell
 
getCenter() - Method in class com.simsilica.mathd.AaBBox
 
getCenter(Vec3d) - Method in class com.simsilica.mathd.AaBBox
 
getClosestPoint(Vec3d, double, Vec3d) - Method in class com.simsilica.mathd.Rayd
Returns the point on this ray that is closest to the specified point, clamped to the origin and the specified limit value.
getColumn(int) - Method in class com.simsilica.mathd.Matrix3d
Returns the indexed column.
getComponentBitSize() - Method in class com.simsilica.mathd.bits.QuatBits
 
getContainingCell(double, double, double) - Method in class com.simsilica.mathd.Grid
Returns a GridCell object that represents the section of space that contains the specified world location.
getContainingCell(Vec3d) - Method in class com.simsilica.mathd.Grid
Returns a GridCell object that represents the section of space that contains the specified world location.
getContainingCell(Vec3i) - Method in class com.simsilica.mathd.Grid
Returns a GridCell object that represents the section of space that contains the specified world location.
getDimensions() - Method in class com.simsilica.mathd.Grid
 
getDirection() - Method in class com.simsilica.mathd.Rayd
 
getDistance(Vec3i) - Method in class com.simsilica.mathd.Vec3i
 
getDistanceSq(Vec3i) - Method in class com.simsilica.mathd.Vec3i
 
getEndPosition() - Method in class com.simsilica.mathd.trans.PositionTransition3d
 
getEndPosition() - Method in class com.simsilica.mathd.trans.PositionTransition3f
 
getEndRotation() - Method in class com.simsilica.mathd.trans.PositionTransition3d
 
getEndRotation() - Method in class com.simsilica.mathd.trans.PositionTransition3f
 
getEndTime() - Method in class com.simsilica.mathd.trans.PositionTransition
Deprecated.
 
getEndTime() - Method in class com.simsilica.mathd.trans.PositionTransition3d
 
getEndTime() - Method in class com.simsilica.mathd.trans.PositionTransition3f
 
getEndTime() - Method in interface com.simsilica.mathd.trans.Transition
 
getEndVisibility() - Method in class com.simsilica.mathd.trans.PositionTransition3d
 
getEndVisibility() - Method in class com.simsilica.mathd.trans.PositionTransition3f
 
getExtents() - Method in class com.simsilica.mathd.AaBBox
 
getExtents(Vec3d) - Method in class com.simsilica.mathd.AaBBox
 
getFilteredValue() - Method in interface com.simsilica.mathd.filter.Filterd
 
getFilteredValue() - Method in class com.simsilica.mathd.filter.SimpleMovingMean
Returns the current mean of the series of data values up to this point.
getFloatResolution() - Method in class com.simsilica.mathd.bits.FloatBits
Returns the smallest possible difference between two floating point values for this FloatBits configuration.
getFrameVelocity() - Method in class com.simsilica.mathd.trans.PositionTransition
Deprecated.
This is actually not a velocity and doesn't properly cover the case where an end is null. The caller can easily calculate this information themselves and decide what to do with a null end point.
getGrid() - Method in class com.simsilica.mathd.GridCell
 
getGridCell(Vec3i) - Method in class com.simsilica.mathd.Grid
Returns a GridCell object the represents the section of space for the specified grid cell coordinate.
getGridCell(int, int, int) - Method in class com.simsilica.mathd.Grid
Returns a GridCell object the represents the section of space for the specified grid cell coordinate.
getId() - Method in class com.simsilica.mathd.GridCell
 
getIdBits() - Method in class com.simsilica.mathd.Grid
 
getLength() - Method in class com.simsilica.mathd.util.FixedIntRange
 
getLength() - Method in interface com.simsilica.mathd.util.IntRange
 
getMask() - Method in class com.simsilica.mathd.bits.FloatBits
 
getMask() - Method in class com.simsilica.mathd.bits.QuatBits
 
getMask() - Method in class com.simsilica.mathd.bits.Vec3Bits
 
getMax() - Method in class com.simsilica.mathd.AaBBox
 
getMaxValue() - Method in class com.simsilica.mathd.bits.FloatBits
 
getMaxValue() - Method in class com.simsilica.mathd.util.FixedIntRange
 
getMaxValue() - Method in interface com.simsilica.mathd.util.IntRange
 
getMin() - Method in class com.simsilica.mathd.AaBBox
 
getMinValue() - Method in class com.simsilica.mathd.bits.FloatBits
 
getMinValue() - Method in class com.simsilica.mathd.util.FixedIntRange
 
getMinValue() - Method in interface com.simsilica.mathd.util.IntRange
 
getOrigin() - Method in class com.simsilica.mathd.Rayd
 
getPosition(long) - Method in class com.simsilica.mathd.trans.PositionTransition
Deprecated.
 
getPosition(long, boolean) - Method in class com.simsilica.mathd.trans.PositionTransition
Deprecated.
 
getPosition(long) - Method in class com.simsilica.mathd.trans.PositionTransition3d
 
getPosition(long, boolean) - Method in class com.simsilica.mathd.trans.PositionTransition3d
 
getPosition(long) - Method in class com.simsilica.mathd.trans.PositionTransition3f
 
getPosition(long, boolean) - Method in class com.simsilica.mathd.trans.PositionTransition3f
 
getRotation(long) - Method in class com.simsilica.mathd.trans.PositionTransition
Deprecated.
 
getRotation(long, boolean) - Method in class com.simsilica.mathd.trans.PositionTransition
Deprecated.
 
getRotation(long) - Method in class com.simsilica.mathd.trans.PositionTransition3d
 
getRotation(long, boolean) - Method in class com.simsilica.mathd.trans.PositionTransition3d
 
getRotation(long) - Method in class com.simsilica.mathd.trans.PositionTransition3f
 
getRotation(long, boolean) - Method in class com.simsilica.mathd.trans.PositionTransition3f
 
getSize() - Method in class com.simsilica.mathd.trans.TransitionBuffer
 
getSpacing() - Method in class com.simsilica.mathd.Grid
 
getStartPosition() - Method in class com.simsilica.mathd.trans.PositionTransition3d
 
getStartPosition() - Method in class com.simsilica.mathd.trans.PositionTransition3f
 
getStartRotation() - Method in class com.simsilica.mathd.trans.PositionTransition3d
 
getStartRotation() - Method in class com.simsilica.mathd.trans.PositionTransition3f
 
getStartTime() - Method in class com.simsilica.mathd.trans.PositionTransition
Deprecated.
 
getStartTime() - Method in class com.simsilica.mathd.trans.PositionTransition3d
 
getStartTime() - Method in class com.simsilica.mathd.trans.PositionTransition3f
 
getStartTime() - Method in interface com.simsilica.mathd.trans.Transition
 
getStartVisibility() - Method in class com.simsilica.mathd.trans.PositionTransition3d
 
getStartVisibility() - Method in class com.simsilica.mathd.trans.PositionTransition3f
 
getTransition(long) - Method in class com.simsilica.mathd.trans.TransitionBuffer
 
getTransition(long, boolean) - Method in class com.simsilica.mathd.trans.TransitionBuffer
 
getVisibility(long) - Method in class com.simsilica.mathd.trans.PositionTransition
Deprecated.
 
getVisibility(long) - Method in class com.simsilica.mathd.trans.PositionTransition3d
 
getVisibility(long) - Method in class com.simsilica.mathd.trans.PositionTransition3f
 
getWorldOrigin() - Method in class com.simsilica.mathd.GridCell
 
getXBits() - Method in class com.simsilica.mathd.bits.Vec3Bits
 
getYBits() - Method in class com.simsilica.mathd.bits.Vec3Bits
 
getZBits() - Method in class com.simsilica.mathd.bits.Vec3Bits
 
Grid - Class in com.simsilica.mathd
Represents a 3D partitioning of space into discrete evenly spaced cells along some fixed integer boundary.
Grid(int) - Constructor for class com.simsilica.mathd.Grid
Creates a grid with the same cell size along each coordinate axis.
Grid(int, int) - Constructor for class com.simsilica.mathd.Grid
Creates a grid with the specified cell size for the x and z axes and 0 for the y axis, indicating that there is no partitioning in the y axis.
Grid(int, int, int) - Constructor for class com.simsilica.mathd.Grid
Creates a grid with the specified spacing along the x, y, and z axes.
Grid(int, int, int, Vec3i) - Constructor for class com.simsilica.mathd.Grid
Creates a grid with the specified spacing alon the x, y, and z axes using the specified bit sizes for each when doing ID encoding.
Grid(Vec3i) - Constructor for class com.simsilica.mathd.Grid
Creates a grid with the specified spacing along the x, y, and z axes.
Grid(Vec3i, Vec3i) - Constructor for class com.simsilica.mathd.Grid
Creates a grid with the specified spacing alon the x, y, and z axes using the specified bit sizes for each when doing ID encoding.
GridCell - Class in com.simsilica.mathd
Represents a single section of partioned space inside of an evenly spaced Grid.
GridCell(Grid, Vec3i) - Constructor for class com.simsilica.mathd.GridCell
 

H

hashCode() - Method in class com.simsilica.mathd.GridCell
 
hashCode() - Method in class com.simsilica.mathd.Matrix3d
Returns a hash code.
hashCode() - Method in class com.simsilica.mathd.Matrix4d
 
hashCode() - Method in class com.simsilica.mathd.Quatd
Returns a hash code.
hashCode() - Method in class com.simsilica.mathd.Rayd
 
hashCode() - Method in class com.simsilica.mathd.Vec3d
Returns a hash code.
hashCode() - Method in class com.simsilica.mathd.Vec3i
 
hashCode() - Method in class com.simsilica.mathd.Vec4d
 

I

idToCell(long, Vec3i) - Method in class com.simsilica.mathd.Grid
 
idToCell(long) - Method in class com.simsilica.mathd.Grid
 
interpolateLocal(Vec3d, Vec3d, double) - Method in class com.simsilica.mathd.Vec3d
Sets the value of this Vec3d to be the linearly interpolated value of start and end using the mix value as the 0 to 1 position between start and end.
intersectSphere(double, Vec3d, double, boolean) - Method in class com.simsilica.mathd.Rayd
Returns the distance along this ray of the nearest intersection to the specified sphere or -1 if the ray and sphere do not intersect.
IntRange - Interface in com.simsilica.mathd.util
 
IntRangeSet - Class in com.simsilica.mathd.util
A Set of integers built of range blocks such that a set full of clumps of integers is stored more efficiently than n number of separate integers.
IntRangeSet() - Constructor for class com.simsilica.mathd.util.IntRangeSet
 
inverse() - Method in class com.simsilica.mathd.Quatd
Returns the multiplicative inverse.
invert() - Method in class com.simsilica.mathd.Matrix3d
Returns the multiplicative inverse.
invert() - Method in class com.simsilica.mathd.Matrix4d
 
isEmpty() - Method in class com.simsilica.mathd.util.IntRangeSet
 
isFilled() - Method in class com.simsilica.mathd.trans.TransitionBuffer
 
isFinite() - Method in class com.simsilica.mathd.Vec3d
Tests for finite components.
isIdentity() - Method in class com.simsilica.mathd.Matrix3d
Tests for identity.
isIdentity() - Method in class com.simsilica.mathd.Matrix4d
Tests for identity.
isNaN() - Method in class com.simsilica.mathd.Vec3d
Returns true if any of the x,y,z elements are NaN.
isRotationIdentity() - Method in class com.simsilica.mathd.Quatd
Tests for an identity rotation.
isSimilar(Quatd, double) - Method in class com.simsilica.mathd.Quatd
Returns true if this Quatd is similar to the specified Quatd within some value of epsilon.
isSimilar(Rayd, double) - Method in class com.simsilica.mathd.Rayd
Returns true if this Quatd is similar to the specified Quatd within some value of epsilon.
isSimilar(Vec3d, double) - Method in class com.simsilica.mathd.Vec3d
Returns true if this Vec3d is similar to the specified Vec3d within some value of epsilon.
isZero() - Method in class com.simsilica.mathd.Quatd
Tests for a zero value.
iterator() - Method in class com.simsilica.mathd.util.IntRangeSet
 

L

length() - Method in class com.simsilica.mathd.Vec3d
Returns the length (or magnitude).
length() - Method in class com.simsilica.mathd.Vec3i
 
length() - Method in class com.simsilica.mathd.Vec4d
 
lengthSq() - Method in class com.simsilica.mathd.Quatd
Returns the squared length.
lengthSq() - Method in class com.simsilica.mathd.Vec3d
Returns the square of the length.
lengthSq() - Method in class com.simsilica.mathd.Vec3i
 
lengthSq() - Method in class com.simsilica.mathd.Vec4d
 
localToWorld(Vec3d) - Method in class com.simsilica.mathd.GridCell
 
localToWorld(Vec3d, Vec3d) - Method in class com.simsilica.mathd.GridCell
 
localToWorld(Vec3i) - Method in class com.simsilica.mathd.GridCell
 
localToWorld(Vec3i, Vec3i) - Method in class com.simsilica.mathd.GridCell
 

M

m00 - Variable in class com.simsilica.mathd.Matrix3d
The element in row 0, column 0.
m00 - Variable in class com.simsilica.mathd.Matrix4d
 
m01 - Variable in class com.simsilica.mathd.Matrix3d
The element in row 0, column 1.
m01 - Variable in class com.simsilica.mathd.Matrix4d
 
m02 - Variable in class com.simsilica.mathd.Matrix3d
The element in row 0, column 2.
m02 - Variable in class com.simsilica.mathd.Matrix4d
 
m03 - Variable in class com.simsilica.mathd.Matrix4d
 
m10 - Variable in class com.simsilica.mathd.Matrix3d
The element in row 1, column 0.
m10 - Variable in class com.simsilica.mathd.Matrix4d
 
m11 - Variable in class com.simsilica.mathd.Matrix3d
The element in row 1, column 1.
m11 - Variable in class com.simsilica.mathd.Matrix4d
 
m12 - Variable in class com.simsilica.mathd.Matrix3d
The element in row 1, column 2.
m12 - Variable in class com.simsilica.mathd.Matrix4d
 
m13 - Variable in class com.simsilica.mathd.Matrix4d
 
m20 - Variable in class com.simsilica.mathd.Matrix3d
The element in row 2, column 0.
m20 - Variable in class com.simsilica.mathd.Matrix4d
 
m21 - Variable in class com.simsilica.mathd.Matrix3d
The element in row 2, column 1.
m21 - Variable in class com.simsilica.mathd.Matrix4d
 
m22 - Variable in class com.simsilica.mathd.Matrix3d
The element in row 2, column 2.
m22 - Variable in class com.simsilica.mathd.Matrix4d
 
m23 - Variable in class com.simsilica.mathd.Matrix4d
 
m30 - Variable in class com.simsilica.mathd.Matrix4d
 
m31 - Variable in class com.simsilica.mathd.Matrix4d
 
m32 - Variable in class com.simsilica.mathd.Matrix4d
 
m33 - Variable in class com.simsilica.mathd.Matrix4d
 
main(String...) - Static method in class com.simsilica.mathd.AaBBox
 
main(String...) - Static method in class com.simsilica.mathd.bits.FloatBits
 
main(String...) - Static method in class com.simsilica.mathd.bits.QuatBits
 
main(String...) - Static method in class com.simsilica.mathd.bits.Vec3Bits
 
makeIdentity() - Method in class com.simsilica.mathd.Matrix3d
Configures the matrix as an identity matrix (diagonals = 1, other elements = 0).
makeIdentity() - Method in class com.simsilica.mathd.Matrix4d
 
Matrix3d - Class in com.simsilica.mathd
A square matrix composed of 9 double-precision elements, used to represent linear transformations of 3-dimensional vectors.
Matrix3d() - Constructor for class com.simsilica.mathd.Matrix3d
Instantiates an identity matrix (diagonals = 1, other elements = 0).
Matrix3d(double, double, double, double, double, double, double, double, double) - Constructor for class com.simsilica.mathd.Matrix3d
Instantiates a matrix with the specified elements.
Matrix4d - Class in com.simsilica.mathd
 
Matrix4d() - Constructor for class com.simsilica.mathd.Matrix4d
 
Matrix4d(double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double) - Constructor for class com.simsilica.mathd.Matrix4d
 
maxLocal(Vec3d) - Method in class com.simsilica.mathd.Vec3d
 
maxLocal(int, int, int) - Method in class com.simsilica.mathd.Vec3i
 
maxLocal(Vec3i) - Method in class com.simsilica.mathd.Vec3i
 
maxLocal(Vec4d) - Method in class com.simsilica.mathd.Vec4d
 
minLocal(Vec3d) - Method in class com.simsilica.mathd.Vec3d
 
minLocal(int, int, int) - Method in class com.simsilica.mathd.Vec3i
 
minLocal(Vec3i) - Method in class com.simsilica.mathd.Vec3i
 
minLocal(Vec4d) - Method in class com.simsilica.mathd.Vec4d
 
mult(Matrix3d) - Method in class com.simsilica.mathd.Matrix3d
Multiplies by the argument and returns the product as a new instance.
mult(Vec3d) - Method in class com.simsilica.mathd.Matrix3d
Multiplies by the specified column vector and returns the product as a new column vector.
mult(Matrix4d) - Method in class com.simsilica.mathd.Matrix4d
 
mult(Vec3d) - Method in class com.simsilica.mathd.Matrix4d
 
mult(Vec3d, Vec3d) - Method in class com.simsilica.mathd.Matrix4d
 
mult(Quatd) - Method in class com.simsilica.mathd.Quatd
Takes the Hamilton product of the current instance times the argument to yield a new Quatd.
mult(Quatd, Quatd) - Method in class com.simsilica.mathd.Quatd
Takes the Hamilton product of the current instance times the first argument and returns the product in the 2nd argument.
mult(Vec3d) - Method in class com.simsilica.mathd.Quatd
Rotates the argument vector to produce a new vector.
mult(Vec3d, Vec3d) - Method in class com.simsilica.mathd.Quatd
Rotates a specified vector and return the result in another vector.
mult(double) - Method in class com.simsilica.mathd.Vec3d
Multiplies with the scalar argument and returns the product as a new instance.
mult(Vec3d) - Method in class com.simsilica.mathd.Vec3d
Multiplies component-wise with the argument and returns the product as a new instance.
mult(Vec3i) - Method in class com.simsilica.mathd.Vec3d
 
mult(int) - Method in class com.simsilica.mathd.Vec3i
 
mult(double) - Method in class com.simsilica.mathd.Vec4d
 
mult(Vec4d) - Method in class com.simsilica.mathd.Vec4d
 
multLocal(Matrix3d) - Method in class com.simsilica.mathd.Matrix3d
Multiplies by the argument and returns the (modified) current instance.
multLocal(double) - Method in class com.simsilica.mathd.Matrix3d
Multiplies by the scalar argument and returns the (modified) current instance.
multLocal(Quatd) - Method in class com.simsilica.mathd.Quatd
Takes the Hamilton product of the current instance times the argument, in place.
multLocal(double) - Method in class com.simsilica.mathd.Vec3d
Multiplies by the scalar argument and returns the (modified) current instance.
multLocal(Vec3d) - Method in class com.simsilica.mathd.Vec3d
Multiplies component-wise by the argument and returns the (modified) current instance.
multLocal(Vec3i) - Method in class com.simsilica.mathd.Vec3d
 
multLocal(int) - Method in class com.simsilica.mathd.Vec3i
 
multLocal(double) - Method in class com.simsilica.mathd.Vec4d
 
multLocal(Vec4d) - Method in class com.simsilica.mathd.Vec4d
 

N

normalize() - Method in class com.simsilica.mathd.Vec3d
 
normalize() - Method in class com.simsilica.mathd.Vec4d
 
normalizeLocal() - Method in class com.simsilica.mathd.Quatd
Normalizes the current instance in place.
normalizeLocal() - Method in class com.simsilica.mathd.Vec3d
Normalize this vector in place.
normalizeLocal() - Method in class com.simsilica.mathd.Vec4d
 

P

PositionTransition - Class in com.simsilica.mathd.trans
Deprecated.
Use PositionTransition3f or PositionTransition3d instead.
PositionTransition(long, Vector3f, Quaternion, boolean) - Constructor for class com.simsilica.mathd.trans.PositionTransition
Deprecated.
 
PositionTransition(long, Vec3d, Quatd, boolean) - Constructor for class com.simsilica.mathd.trans.PositionTransition
Deprecated.
 
PositionTransition3d - Class in com.simsilica.mathd.trans
Represents a start and an end of a time-based transition with interpolation functions provided.
PositionTransition3d(long, Vec3d, Quatd, boolean) - Constructor for class com.simsilica.mathd.trans.PositionTransition3d
 
PositionTransition3f - Class in com.simsilica.mathd.trans
Represents a start and an end of a time-based transition with interpolation functions provided.
PositionTransition3f(long, Vector3f, Quaternion, boolean) - Constructor for class com.simsilica.mathd.trans.PositionTransition3f
 
PositionTransition3f(long, Vec3d, Quatd, boolean) - Constructor for class com.simsilica.mathd.trans.PositionTransition3f
 
project(double, Vec3d) - Method in class com.simsilica.mathd.Rayd
Returns the point along the ray at the specified distance.

Q

QuatBits - Class in com.simsilica.mathd.bits
 
QuatBits(int) - Constructor for class com.simsilica.mathd.bits.QuatBits
 
Quatd - Class in com.simsilica.mathd
Used to efficiently represent rotations and orientations in 3-dimensional space, without risk of gimbal lock.
Quatd() - Constructor for class com.simsilica.mathd.Quatd
Instantiates an identity quaternion: all components zeroed except w, which is set to 1.
Quatd(double, double, double, double) - Constructor for class com.simsilica.mathd.Quatd
Instantiates a quaternion with the specified components.
Quatd(Quatd) - Constructor for class com.simsilica.mathd.Quatd
Instantiates a copy of the argument.
Quatd(Quaternion) - Constructor for class com.simsilica.mathd.Quatd
Instantiates based on the specified (single-precision) Quaternion.

R

rangeIterator() - Method in class com.simsilica.mathd.util.IntRangeSet
 
Rayd - Class in com.simsilica.mathd
A mathematical "ray" consisting of an origin point and a direction.
Rayd() - Constructor for class com.simsilica.mathd.Rayd
Provided only for certain types of serialization that require no-arg constructors.
Rayd(Vec3d, Vec3d) - Constructor for class com.simsilica.mathd.Rayd
Creates a double-precision ray with the specified origin and direction.
Rayd(Ray) - Constructor for class com.simsilica.mathd.Rayd
Creates a double-precision ray with the same double versions of origin and direction from the supplied single precision Ray.
remove(Object) - Method in class com.simsilica.mathd.util.IntRangeSet
 
remove(int) - Method in class com.simsilica.mathd.util.IntRangeSet
 
remove(IntRange) - Method in class com.simsilica.mathd.util.IntRangeSet
 
remove(int, int) - Method in class com.simsilica.mathd.util.IntRangeSet
 

S

set(Vec3d, Vec3d) - Method in class com.simsilica.mathd.AaBBox
 
set(Matrix3d) - Method in class com.simsilica.mathd.Matrix3d
Copies all elements of the argument to the current instance.
set(double, double, double, double) - Method in class com.simsilica.mathd.Quatd
Sets all 4 components to the specified values.
set(Quatd) - Method in class com.simsilica.mathd.Quatd
Copies all 4 components from the argument.
set(Quaternion) - Method in class com.simsilica.mathd.Quatd
Copies all 4 components of the specified (single-precision) Quaternion to the current instance.
set(int, double) - Method in class com.simsilica.mathd.Quatd
Alters the indexed component.
set(Vec3d, Vec3d) - Method in class com.simsilica.mathd.Rayd
 
set(Rayd) - Method in class com.simsilica.mathd.Rayd
 
set(Ray) - Method in class com.simsilica.mathd.Rayd
 
set(double, double, double) - Method in class com.simsilica.mathd.Vec3d
Sets all 3 components to specified values.
set(Vec3d) - Method in class com.simsilica.mathd.Vec3d
Copies all 3 components from the argument.
set(Vec3i) - Method in class com.simsilica.mathd.Vec3d
 
set(Vector3f) - Method in class com.simsilica.mathd.Vec3d
Copies all 3 components from the argument, converting them to double precision.
set(int, double) - Method in class com.simsilica.mathd.Vec3d
Alters the indexed component.
set(int, int, int) - Method in class com.simsilica.mathd.Vec3i
 
set(Vec3i) - Method in class com.simsilica.mathd.Vec3i
 
set(int, int) - Method in class com.simsilica.mathd.Vec3i
 
set(double, double, double, double) - Method in class com.simsilica.mathd.Vec4d
 
set(Vec4d) - Method in class com.simsilica.mathd.Vec4d
 
set(int, double) - Method in class com.simsilica.mathd.Vec4d
 
setCenter(Vec3d) - Method in class com.simsilica.mathd.AaBBox
 
setCenter(double, double, double) - Method in class com.simsilica.mathd.AaBBox
 
setColumn(int, Vec3d) - Method in class com.simsilica.mathd.Matrix3d
Alters the indexed column and returns the (modified) current instance.
setDirection(Vec3d) - Method in class com.simsilica.mathd.Rayd
 
setForExtents(Vec3d, Vec3d) - Method in class com.simsilica.mathd.AaBBox
 
setForRadius(Vec3d, double) - Method in class com.simsilica.mathd.AaBBox
 
setForRadius(double, double, double, double) - Method in class com.simsilica.mathd.AaBBox
 
setMax(Vec3d) - Method in class com.simsilica.mathd.AaBBox
 
setMin(Vec3d) - Method in class com.simsilica.mathd.AaBBox
 
setOrigin(Vec3d) - Method in class com.simsilica.mathd.Rayd
 
setPreviousTransition(PositionTransition) - Method in class com.simsilica.mathd.trans.PositionTransition
Deprecated.
 
setPreviousTransition(PositionTransition3d) - Method in class com.simsilica.mathd.trans.PositionTransition3d
 
setPreviousTransition(PositionTransition3f) - Method in class com.simsilica.mathd.trans.PositionTransition3f
 
setPreviousTransition(T) - Method in interface com.simsilica.mathd.trans.Transition
 
setSkewSymmetric(Vec3d) - Method in class com.simsilica.mathd.Matrix3d
 
setTransform(Vec3d, Matrix3d) - Method in class com.simsilica.mathd.Matrix4d
 
SimpleMovingMean - Class in com.simsilica.mathd.filter
 
SimpleMovingMean(int) - Constructor for class com.simsilica.mathd.filter.SimpleMovingMean
 
size() - Method in class com.simsilica.mathd.util.IntRangeSet
 
slerpLocal(Quatd, Quatd, double) - Method in class com.simsilica.mathd.Quatd
Sets this Quatd's value to the linear interpolation of start and end using the mix value as the amount to interpolate.
subtract(Quatd) - Method in class com.simsilica.mathd.Quatd
Subtracts the argument and returns the difference as a new instance.
subtract(Vec3d) - Method in class com.simsilica.mathd.Vec3d
Subtracts the argument and returns the difference as a new instance.
subtract(Vec3i) - Method in class com.simsilica.mathd.Vec3d
 
subtract(double, double, double) - Method in class com.simsilica.mathd.Vec3d
Subtracts specified amounts from the vector's components and returns the difference as a new instance.
subtract(Vec3i) - Method in class com.simsilica.mathd.Vec3i
 
subtract(int, int, int) - Method in class com.simsilica.mathd.Vec3i
 
subtract(Vec4d) - Method in class com.simsilica.mathd.Vec4d
 
subtract(double, double, double, double) - Method in class com.simsilica.mathd.Vec4d
 
subtractLocal(Quatd) - Method in class com.simsilica.mathd.Quatd
Subtracts the argument and returns the (modified) current instance.
subtractLocal(Vec3d) - Method in class com.simsilica.mathd.Vec3d
Subtracts the argument and returns the (modified) current instance.
subtractLocal(Vec3i) - Method in class com.simsilica.mathd.Vec3d
 
subtractLocal(double, double, double) - Method in class com.simsilica.mathd.Vec3d
Subtracts the specified amounts from the vector's components and returns the (modified) current instance.
subtractLocal(Vec3i) - Method in class com.simsilica.mathd.Vec3i
 
subtractLocal(int, int, int) - Method in class com.simsilica.mathd.Vec3i
 
subtractLocal(Vec4d) - Method in class com.simsilica.mathd.Vec4d
 
subtractLocal(double, double, double, double) - Method in class com.simsilica.mathd.Vec4d
 

T

toAngles(double[]) - Method in class com.simsilica.mathd.Quatd
Returns this quaternion converted to Euler rotation angles (yaw,roll,pitch).
toBits(float) - Method in class com.simsilica.mathd.bits.FloatBits
 
toBits(Quatd) - Method in class com.simsilica.mathd.bits.QuatBits
 
toBits(Vec3d) - Method in class com.simsilica.mathd.bits.Vec3Bits
 
toDisplay() - Method in class com.simsilica.mathd.Vec3i
 
toQuaternion() - Method in class com.simsilica.mathd.Quatd
Creates a (single-precision) Quaternion that approximates the current instance.
toRangeArray() - Method in class com.simsilica.mathd.util.IntRangeSet
 
toRay() - Method in class com.simsilica.mathd.Rayd
Returns a single-precision version of this ray.
toRotationMatrix() - Method in class com.simsilica.mathd.Matrix4d
 
toRotationMatrix() - Method in class com.simsilica.mathd.Quatd
Converts the quaternion to an equivalent rotation matrix.
toString() - Method in class com.simsilica.mathd.AaBBox
 
toString() - Method in class com.simsilica.mathd.Grid
 
toString() - Method in class com.simsilica.mathd.GridCell
 
toString() - Method in class com.simsilica.mathd.Matrix3d
Returns a string representation of the matrix, which is unaffected.
toString() - Method in class com.simsilica.mathd.Matrix4d
 
toString() - Method in class com.simsilica.mathd.Quatd
Returns a string representation of the quaternion, which is unaffected.
toString() - Method in class com.simsilica.mathd.Rayd
 
toString() - Method in class com.simsilica.mathd.trans.PositionTransition
Deprecated.
 
toString() - Method in class com.simsilica.mathd.trans.PositionTransition3d
 
toString() - Method in class com.simsilica.mathd.trans.PositionTransition3f
 
toString() - Method in class com.simsilica.mathd.trans.TransitionBuffer
 
toString() - Method in class com.simsilica.mathd.util.FixedIntRange
 
toString() - Method in class com.simsilica.mathd.Vec3d
Returns a string representation of the vector, which is unaffected.
toString() - Method in class com.simsilica.mathd.Vec3i
 
toString() - Method in class com.simsilica.mathd.Vec4d
 
toVec3d() - Method in class com.simsilica.mathd.Vec3i
 
toVec3i() - Method in class com.simsilica.mathd.Vec3d
Returns the raw (int) cast version of this Vec3d as a Vec3i.
toVector3f() - Method in class com.simsilica.mathd.Vec3d
Creates a single-precision copy of the current instance.
toVector3f() - Method in class com.simsilica.mathd.Vec3i
 
toVector4f() - Method in class com.simsilica.mathd.Vec4d
 
Transition<T extends Transition> - Interface in com.simsilica.mathd.trans
Represents a start and an end of a time-based transition that provides some kind of interpolation that is implementation specific.
TransitionBuffer<T extends Transition> - Class in com.simsilica.mathd.trans
Holds a set of transitions and can return a transition spanning a specific time index.
TransitionBuffer(int) - Constructor for class com.simsilica.mathd.trans.TransitionBuffer
 
transpose() - Method in class com.simsilica.mathd.Matrix3d
Returns the transpose.
transpose() - Method in class com.simsilica.mathd.Matrix4d
 
tween(long) - Method in class com.simsilica.mathd.trans.PositionTransition
Deprecated.
 
tween(long) - Method in class com.simsilica.mathd.trans.PositionTransition3d
 
tween(long) - Method in class com.simsilica.mathd.trans.PositionTransition3f
 

U

UNIT_X - Static variable in class com.simsilica.mathd.Vec3d
Shared instance of the +X direction (1,0,0).
UNIT_Y - Static variable in class com.simsilica.mathd.Vec3d
Shared instance of the +Y direction (0,1,0).
UNIT_Z - Static variable in class com.simsilica.mathd.Vec3d
Shared instance of the +Z direction (0,0,1).

V

Vec3Bits - Class in com.simsilica.mathd.bits
 
Vec3Bits(float, float, int) - Constructor for class com.simsilica.mathd.bits.Vec3Bits
 
Vec3Bits(FloatBits, FloatBits, FloatBits) - Constructor for class com.simsilica.mathd.bits.Vec3Bits
 
Vec3d - Class in com.simsilica.mathd
A vector composed of 3 double-precision components, used to represent locations, offsets, velocities, and directions in 3-dimensional space.
Vec3d() - Constructor for class com.simsilica.mathd.Vec3d
Instantiates an all-zero vector (0,0,0).
Vec3d(double, double, double) - Constructor for class com.simsilica.mathd.Vec3d
Instantiates a vector with the specified components.
Vec3d(Vec3d) - Constructor for class com.simsilica.mathd.Vec3d
Instantiates a copy of the argument.
Vec3d(Vec3i) - Constructor for class com.simsilica.mathd.Vec3d
 
Vec3d(Vector3f) - Constructor for class com.simsilica.mathd.Vec3d
Instantiates a double-precision copy of the argument.
Vec3i - Class in com.simsilica.mathd
Holds a three-dimensional integer coordinate.
Vec3i() - Constructor for class com.simsilica.mathd.Vec3i
 
Vec3i(int, int, int) - Constructor for class com.simsilica.mathd.Vec3i
 
Vec3i(Vector3f) - Constructor for class com.simsilica.mathd.Vec3i
 
Vec3i(Vec3i) - Constructor for class com.simsilica.mathd.Vec3i
 
Vec4d - Class in com.simsilica.mathd
 
Vec4d() - Constructor for class com.simsilica.mathd.Vec4d
 
Vec4d(double, double, double, double) - Constructor for class com.simsilica.mathd.Vec4d
 
Vec4d(Vec4d) - Constructor for class com.simsilica.mathd.Vec4d
 
Vec4d(Vector4f) - Constructor for class com.simsilica.mathd.Vec4d
 

W

w - Variable in class com.simsilica.mathd.Quatd
The real (W) component.
w - Variable in class com.simsilica.mathd.Vec4d
The 4th (W) component.
worldToCell(double, double, double) - Method in class com.simsilica.mathd.Grid
Returns the grid cell coordinate that contains the specified world space coordinate.
worldToCell(double, double, double, Vec3i) - Method in class com.simsilica.mathd.Grid
Returns the grid cell coordinate that contains the specified world space coordinate, storing it in the specified store argument.
worldToCell(Vec3d) - Method in class com.simsilica.mathd.Grid
Returns the grid cell coordinate that contains the specified world space coordinate.
worldToCell(Vec3d, Vec3i) - Method in class com.simsilica.mathd.Grid
Returns the grid cell coordinate that contains the specified world space coordinate, storing it in the specified store argument.
worldToId(Vec3d) - Method in class com.simsilica.mathd.Grid
Converts the world location to a cell location and then to a cell ID.
worldToId(double, double, double) - Method in class com.simsilica.mathd.Grid
Converts the world location to a cell location and then to a cell ID.
worldToLocal(Vec3d) - Method in class com.simsilica.mathd.GridCell
 
worldToLocal(Vec3d, Vec3d) - Method in class com.simsilica.mathd.GridCell
 
worldToLocal(double, double, double) - Method in class com.simsilica.mathd.GridCell
 
worldToLocal(double, double, double, Vec3d) - Method in class com.simsilica.mathd.GridCell
 

X

x - Variable in class com.simsilica.mathd.Quatd
The first imaginary (X) component.
x - Variable in class com.simsilica.mathd.Vec3d
The first (X) component.
x - Variable in class com.simsilica.mathd.Vec3i
The first (X) component.
x - Variable in class com.simsilica.mathd.Vec4d
The first (X) component.
xzy() - Method in class com.simsilica.mathd.Vec3d
 

Y

y - Variable in class com.simsilica.mathd.Quatd
The 2nd imaginary (Y) component.
y - Variable in class com.simsilica.mathd.Vec3d
The 2nd (Y) component.
y - Variable in class com.simsilica.mathd.Vec3i
The 2nd (Y) component.
y - Variable in class com.simsilica.mathd.Vec4d
The 2nd (Y) component.

Z

z - Variable in class com.simsilica.mathd.Quatd
The 3rd imaginary (Z) component.
z - Variable in class com.simsilica.mathd.Vec3d
The 3rd (Z) component.
z - Variable in class com.simsilica.mathd.Vec3i
The 3rd (Z) component.
z - Variable in class com.simsilica.mathd.Vec4d
The 3rd (Z) component.
ZERO - Static variable in class com.simsilica.mathd.Vec3d
Shared instance of the all-zero vector (0,0,0).
zeroEpsilon(double) - Method in class com.simsilica.mathd.Vec3d
 
zeroEpsilon(double) - Method in class com.simsilica.mathd.Vec4d
 
A C D E F G H I L M N P Q R S T U V W X Y Z 
Skip navigation links