Uses of Class
cnuphys.adaptiveSwim.geometry.Vector
Packages that use Vector
-
Uses of Vector in cnuphys.adaptiveSwim.geometry
Fields in cnuphys.adaptiveSwim.geometry declared as VectorMethods in cnuphys.adaptiveSwim.geometry that return VectorModifier and TypeMethodDescriptionstatic Vector
The cross product of two vectorsstatic Vector
Vector.difference
(Vector a, Vector b) Get the difference between two vectorsLine.getDelP()
Get the p1-po "dP" segmentstatic Vector
project vector a in the direction of vector bVector.unitVector()
Get a unit vector in the same direction as thisMethods in cnuphys.adaptiveSwim.geometry with parameters of type VectorModifier and TypeMethodDescriptionstatic double
Vector.angleBetween
(Vector a, Vector b) Compute the angle between two vectors in radiansstatic double
Vector.angleBetweenDeg
(Vector a, Vector b) Compute the angle between two vectors in degreesstatic Vector
The cross product of two vectorsstatic void
The in-place cross product of two vectorsstatic Vector
Vector.difference
(Vector a, Vector b) Get the difference between two vectorsstatic void
Vector.difference
(Vector a, Vector b, Vector c) Get the in-place difference between two vectorsstatic Vector
project vector a in the direction of vector bConstructors in cnuphys.adaptiveSwim.geometry with parameters of type Vector