Package org.joml
Interface Vector2dc
- All Known Implementing Classes:
MapProjection.ProjectedMeters
,Vector2d
public interface Vector2dc
-
Method Summary
Modifier and Type Method Description Vector2d
absolute(Vector2d vector2d)
Vector2d
add(double double1, double double2, Vector2d vector2d)
Vector2d
add(Vector2dc vector2dc, Vector2d vector2d)
Vector2d
add(Vector2fc vector2fc, Vector2d vector2d)
double
angle(Vector2dc vector2dc)
Vector2d
ceil(Vector2d vector2d)
double
distance(double double1, double double2)
double
distance(Vector2dc vector2dc)
double
distance(Vector2fc vector2fc)
double
distanceSquared(double double1, double double2)
double
distanceSquared(Vector2dc vector2dc)
double
distanceSquared(Vector2fc vector2fc)
Vector2d
div(double double1, double double2, Vector2d vector2d)
Vector2d
div(double double1, Vector2d vector2d)
Vector2d
div(Vector2dc vector2dc, Vector2d vector2d)
Vector2d
div(Vector2fc vector2fc, Vector2d vector2d)
double
dot(Vector2dc vector2dc)
boolean
equals(double double1, double double2)
boolean
equals(Vector2dc vector2dc, double double1)
Vector2d
floor(Vector2d vector2d)
Vector2d
fma(double double1, Vector2dc vector2dc, Vector2d vector2d)
Vector2d
fma(Vector2dc vector2dc, Vector2dc vector2dc2, Vector2d vector2d)
double
get(int int1)
java.nio.ByteBuffer
get(int int1, java.nio.ByteBuffer byteBuffer)
java.nio.DoubleBuffer
get(int int1, java.nio.DoubleBuffer doubleBuffer)
Vector2i
get(int int1, Vector2i vector2i)
java.nio.ByteBuffer
get(java.nio.ByteBuffer byteBuffer)
java.nio.DoubleBuffer
get(java.nio.DoubleBuffer doubleBuffer)
Vector2d
get(Vector2d vector2d)
Vector2f
get(Vector2f vector2f)
Vector2dc
getToAddress(long long1)
boolean
isFinite()
double
length()
double
lengthSquared()
Vector2d
lerp(Vector2dc vector2dc, double double1, Vector2d vector2d)
Vector2d
max(Vector2dc vector2dc, Vector2d vector2d)
int
maxComponent()
Vector2d
min(Vector2dc vector2dc, Vector2d vector2d)
int
minComponent()
Vector2d
mul(double double1, double double2, Vector2d vector2d)
Vector2d
mul(double double1, Vector2d vector2d)
Vector2d
mul(Matrix2dc matrix2dc, Vector2d vector2d)
Vector2d
mul(Matrix2fc matrix2fc, Vector2d vector2d)
Vector2d
mul(Vector2dc vector2dc, Vector2d vector2d)
Vector2d
mulDirection(Matrix3x2dc matrix3x2dc, Vector2d vector2d)
Vector2d
mulPosition(Matrix3x2dc matrix3x2dc, Vector2d vector2d)
Vector2d
mulTranspose(Matrix2dc matrix2dc, Vector2d vector2d)
Vector2d
mulTranspose(Matrix2fc matrix2fc, Vector2d vector2d)
Vector2d
negate(Vector2d vector2d)
Vector2d
normalize(double double1, Vector2d vector2d)
Vector2d
normalize(Vector2d vector2d)
Vector2d
round(Vector2d vector2d)
Vector2d
sub(double double1, double double2, Vector2d vector2d)
Vector2d
sub(Vector2dc vector2dc, Vector2d vector2d)
Vector2d
sub(Vector2fc vector2fc, Vector2d vector2d)
double
x()
double
y()
-
Method Details
-
x
double x() -
y
double y() -
get
java.nio.ByteBuffer get(java.nio.ByteBuffer byteBuffer) -
get
java.nio.ByteBuffer get(int int1, java.nio.ByteBuffer byteBuffer) -
get
java.nio.DoubleBuffer get(java.nio.DoubleBuffer doubleBuffer) -
get
java.nio.DoubleBuffer get(int int1, java.nio.DoubleBuffer doubleBuffer) -
getToAddress
-
sub
-
sub
-
sub
-
mul
-
mul
-
mul
-
div
-
div
-
div
-
div
-
mul
-
mul
-
mulTranspose
-
mulTranspose
-
mulPosition
-
mulDirection
-
dot
-
angle
-
lengthSquared
double lengthSquared() -
length
double length() -
distance
-
distanceSquared
-
distance
-
distanceSquared
-
distance
double distance(double double1, double double2) -
distanceSquared
double distanceSquared(double double1, double double2) -
normalize
-
normalize
-
add
-
add
-
add
-
negate
-
lerp
-
fma
-
fma
-
min
-
max
-
maxComponent
int maxComponent() -
minComponent
int minComponent() -
get
double get(int int1) throws java.lang.IllegalArgumentException- Throws:
java.lang.IllegalArgumentException
-
get
-
get
-
get
-
floor
-
ceil
-
round
-
isFinite
boolean isFinite() -
absolute
-
equals
-
equals
boolean equals(double double1, double double2)
-