public static class GM01.Vector3D
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) GM01.ColMatrix3D |
vector |
Constructor and Description |
---|
GM01.Vector3D(GM01.ColMatrix3D vector) |
Modifier and Type | Method and Description |
---|---|
GM01.Vector3D |
add(GM01.Vector3D vec) |
void |
draw(java.awt.Graphics2D g2D,
GM01.Point3D tail) |
boolean |
equals(java.lang.Object obj) |
GM01.ColMatrix3D |
getColMatrix() |
double |
getData(int index) |
double |
getLength() |
GM01.Vector3D |
negate() |
GM01.Vector3D |
normalize() |
GM01.Vector3D |
scale(java.lang.Double factor) |
void |
setData(int index,
double data) |
java.lang.String |
toString() |
GM01.ColMatrix3D vector
public GM01.Vector3D(GM01.ColMatrix3D vector)
public java.lang.String toString()
toString
in class java.lang.Object
public double getData(int index)
public void setData(int index, double data)
public void draw(java.awt.Graphics2D g2D, GM01.Point3D tail)
public GM01.ColMatrix3D getColMatrix()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public GM01.Vector3D add(GM01.Vector3D vec)
public double getLength()
public GM01.Vector3D scale(java.lang.Double factor)
public GM01.Vector3D negate()
public GM01.Vector3D normalize()