Package gov.nih.mipav.model.structures
Class ComputationalGeometry.MyVector3
- java.lang.Object
-
- gov.nih.mipav.model.structures.ComputationalGeometry.MyVector3
-
- Enclosing class:
- ComputationalGeometry
public class ComputationalGeometry.MyVector3 extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description ComputationalGeometry.MyVector3ForwardComputationalGeometry.MyVector3RightComputationalGeometry.MyVector3Updoublexdoubleydoublez
-
Method Summary
-
-
-
Field Detail
-
x
public double x
-
y
public double y
-
z
public double z
-
Right
public ComputationalGeometry.MyVector3 Right
-
Forward
public ComputationalGeometry.MyVector3 Forward
-
Up
public ComputationalGeometry.MyVector3 Up
-
-
Method Detail
-
Dot
public double Dot(ComputationalGeometry.MyVector3 a, ComputationalGeometry.MyVector3 b)
-
Magnitude
public double Magnitude(ComputationalGeometry.MyVector3 a)
-
SqrMagnitude
public double SqrMagnitude(ComputationalGeometry.MyVector3 a)
-
Distance
public double Distance(ComputationalGeometry.MyVector3 a, ComputationalGeometry.MyVector3 b)
-
SqrDistance
public double SqrDistance(ComputationalGeometry.MyVector3 a, ComputationalGeometry.MyVector3 b)
-
Normalize
public ComputationalGeometry.MyVector3 Normalize(ComputationalGeometry.MyVector3 v)
-
Cross
public ComputationalGeometry.MyVector3 Cross(ComputationalGeometry.MyVector3 a, ComputationalGeometry.MyVector3 b)
-
Equals
public boolean Equals(ComputationalGeometry.MyVector3 other)
-
plus
public ComputationalGeometry.MyVector3 plus(ComputationalGeometry.MyVector3 a, ComputationalGeometry.MyVector3 b)
-
minus
public ComputationalGeometry.MyVector3 minus(ComputationalGeometry.MyVector3 a, ComputationalGeometry.MyVector3 b)
-
times
public ComputationalGeometry.MyVector3 times(ComputationalGeometry.MyVector3 a, double b)
-
times
public ComputationalGeometry.MyVector3 times(double b, ComputationalGeometry.MyVector3 a)
-
negate
public ComputationalGeometry.MyVector3 negate(ComputationalGeometry.MyVector3 a)
-
-