Uses of Class
org.apache.commons.math.geometry.Vector3D
- 
Packages that use Vector3D Package Description org.apache.commons.math.geometry This package provides basic 3D geometry components. - 
- 
Uses of Vector3D in org.apache.commons.math.geometry
Fields in org.apache.commons.math.geometry declared as Vector3D Modifier and Type Field Description static Vector3DVector3D. MINUS_IOpposite of the first canonical vector (coordinates: -1, 0, 0).static Vector3DVector3D. MINUS_JOpposite of the second canonical vector (coordinates: 0, -1, 0).static Vector3DVector3D. MINUS_KOpposite of the third canonical vector (coordinates: 0, 0, -1).static Vector3DVector3D. NaNA vector with all coordinates set to NaN.static Vector3DVector3D. NEGATIVE_INFINITYA vector with all coordinates set to negative infinity.static Vector3DVector3D. PLUS_IFirst canonical vector (coordinates: 1, 0, 0).static Vector3DVector3D. PLUS_JSecond canonical vector (coordinates: 0, 1, 0).static Vector3DVector3D. PLUS_KThird canonical vector (coordinates: 0, 0, 1).static Vector3DVector3D. POSITIVE_INFINITYA vector with all coordinates set to positive infinity.static Vector3DVector3D. ZERONull vector (coordinates: 0, 0, 0).Methods in org.apache.commons.math.geometry that return Vector3D Modifier and Type Method Description Vector3DVector3D. add(double factor, Vector3D v)Add a scaled vector to the instance.Vector3DVector3D. add(Vector3D v)Add a vector to the instance.Vector3DRotation. applyInverseTo(Vector3D u)Apply the inverse of the rotation to a vector.Vector3DRotation. applyTo(Vector3D u)Apply the rotation to a vector.static Vector3DVector3D. crossProduct(Vector3D v1, Vector3D v2)Compute the cross-product of two vectors.Vector3DRotationOrder. getA1()Get the axis of the first rotation.Vector3DRotationOrder. getA2()Get the axis of the second rotation.Vector3DRotationOrder. getA3()Get the axis of the second rotation.Vector3DRotation. getAxis()Get the normalized axis of the rotation.Vector3DVector3D. negate()Get the opposite of the instance.Vector3DVector3D. normalize()Get a normalized vector aligned with the instance.Vector3DVector3D. orthogonal()Get a vector orthogonal to the instance.Vector3DVector3DFormat. parse(java.lang.String source)Parses a string to produce aVector3Dobject.Vector3DVector3DFormat. parse(java.lang.String source, java.text.ParsePosition pos)Parses a string to produce aVector3Dobject.Vector3DVector3D. scalarMultiply(double a)Multiply the instance by a scalarVector3DVector3D. subtract(double factor, Vector3D v)Subtract a scaled vector from the instance.Vector3DVector3D. subtract(Vector3D v)Subtract a vector from the instance.Methods in org.apache.commons.math.geometry with parameters of type Vector3D Modifier and Type Method Description Vector3DVector3D. add(double factor, Vector3D v)Add a scaled vector to the instance.Vector3DVector3D. add(Vector3D v)Add a vector to the instance.static doubleVector3D. angle(Vector3D v1, Vector3D v2)Compute the angular separation between two vectors.Vector3DRotation. applyInverseTo(Vector3D u)Apply the inverse of the rotation to a vector.Vector3DRotation. applyTo(Vector3D u)Apply the rotation to a vector.static Vector3DVector3D. crossProduct(Vector3D v1, Vector3D v2)Compute the cross-product of two vectors.static doubleVector3D. distance(Vector3D v1, Vector3D v2)Compute the distance between two vectors according to the L2 norm.static doubleVector3D. distance1(Vector3D v1, Vector3D v2)Compute the distance between two vectors according to the L1 norm.static doubleVector3D. distanceInf(Vector3D v1, Vector3D v2)Compute the distance between two vectors according to the L∞ norm.static doubleVector3D. distanceSq(Vector3D v1, Vector3D v2)Compute the square of the distance between two vectors.static doubleVector3D. dotProduct(Vector3D v1, Vector3D v2)Compute the dot-product of two vectors.java.lang.StringBufferVector3DFormat. format(Vector3D vector, java.lang.StringBuffer toAppendTo, java.text.FieldPosition pos)Formats aVector3Dobject to produce a string.static java.lang.StringVector3DFormat. formatVector3D(Vector3D v)This static method callsFormat.format(Object)on a default instance of Vector3DFormat.Vector3DVector3D. subtract(double factor, Vector3D v)Subtract a scaled vector from the instance.Vector3DVector3D. subtract(Vector3D v)Subtract a vector from the instance.Constructors in org.apache.commons.math.geometry with parameters of type Vector3D Constructor Description Rotation(Vector3D axis, double angle)Build a rotation from an axis and an angle.Rotation(Vector3D u, Vector3D v)Build one of the rotations that transform one vector into another one.Rotation(Vector3D u1, Vector3D u2, Vector3D v1, Vector3D v2)Build the rotation that transforms a pair of vector into another pair.Vector3D(double a, Vector3D u)Multiplicative constructor Build a vector from another one and a scale factor.Vector3D(double a1, Vector3D u1, double a2, Vector3D u2)Linear constructor Build a vector from two other ones and corresponding scale factors.Vector3D(double a1, Vector3D u1, double a2, Vector3D u2, double a3, Vector3D u3)Linear constructor Build a vector from three other ones and corresponding scale factors.Vector3D(double a1, Vector3D u1, double a2, Vector3D u2, double a3, Vector3D u3, double a4, Vector3D u4)Linear constructor Build a vector from four other ones and corresponding scale factors. 
 -