public final class MrVector3f extends java.lang.Object implements MrLinearAlgebraObject
Modifier and Type | Class and Description |
---|---|
static class |
MrVector3f.Operator |
Constructor and Description |
---|
MrVector3f() |
MrVector3f(float v) |
MrVector3f(float[] values) |
MrVector3f(float x,
float y,
float z) |
Modifier and Type | Method and Description |
---|---|
void |
copyValues(MrVector3f v)
Copy values from vector v to this
|
int |
getCount() |
MrDataType |
getDataType() |
static MrVector3f.Operator |
getOperator() |
float[] |
getValues() |
void |
setValues(float x,
float y,
float z) |
java.lang.String |
toString() |
public MrVector3f()
public MrVector3f(float x, float y, float z)
public MrVector3f(float v)
public MrVector3f(float[] values)
public static MrVector3f.Operator getOperator()
public int getCount()
getCount
in interface MrLinearAlgebraObject
public void setValues(float x, float y, float z)
public float[] getValues()
getValues
in interface MrLinearAlgebraObject
public MrDataType getDataType()
getDataType
in interface MrLinearAlgebraObject
public void copyValues(MrVector3f v)
v
- public java.lang.String toString()
toString
in class java.lang.Object