Uses of Class
org.apache.commons.geometry.euclidean.threed.Vector3D.Unit
-
Packages that use Vector3D.Unit Package Description org.apache.commons.geometry.euclidean.threed This package provides basic 3D geometry components.org.apache.commons.geometry.spherical.twod This package provides basic geometry components on the 2-sphere. -
-
Uses of Vector3D.Unit in org.apache.commons.geometry.euclidean.threed
Fields in org.apache.commons.geometry.euclidean.threed declared as Vector3D.Unit Modifier and Type Field Description static Vector3D.Unit
Vector3D.Unit. MINUS_X
Negation of unit vector (coordinates: -1, 0, 0).static Vector3D.Unit
Vector3D.Unit. MINUS_Y
Negation of unit vector (coordinates: 0, -1, 0).static Vector3D.Unit
Vector3D.Unit. MINUS_Z
Negation of unit vector (coordinates: 0, 0, -1).private Vector3D.Unit
Plane. normal
Plane normal.private Vector3D.Unit
Planes.PlaneBuilder. normal
The computednormal
vector for the plane.static Vector3D.Unit
Vector3D.Unit. PLUS_X
Unit vector (coordinates: 1, 0, 0).static Vector3D.Unit
Vector3D.Unit. PLUS_Y
Unit vector (coordinates: 0, 1, 0).static Vector3D.Unit
Vector3D.Unit. PLUS_Z
Unit vector (coordinates: 0, 0, 1).private Vector3D.Unit
EmbeddingPlane. u
First normalized vector of the plane frame (in plane).private Vector3D.Unit
EmbeddingPlane. v
Second normalized vector of the plane frame (in plane).Methods in org.apache.commons.geometry.euclidean.threed that return Vector3D.Unit Modifier and Type Method Description Vector3D.Unit
AffineTransformMatrix3D. applyDirection(Vector3D vec)
Apply this transform to the given vector, ignoring translations and normalizing the result.Vector3D.Unit
Vector3D. directionTo(Vector3D v)
Return the unit vector representing the direction of displacement from this vector to the given vector.static Vector3D.Unit
Vector3D.Unit. from(double x, double y, double z)
Create a normalized vector.static Vector3D.Unit
Vector3D.Unit. from(Vector3D v)
Create a normalized vector.Vector3D.Unit
Plane. getNormal()
Get the plane normal vector.Vector3D.Unit
EmbeddingPlane. getU()
Get the plane first canonical vector.Vector3D.Unit
EmbeddingPlane. getV()
Get the plane second canonical vector.Vector3D.Unit
EmbeddingPlane. getW()
Get the plane third canonical vector, ie, the plane normal.Vector3D.Unit
Vector3D.Unit. negate()
Get the negation of the instance.Vector3D.Unit
Vector3D. normalize()
Get a normalized vector aligned with the instance.Vector3D.Unit
Vector3D.Unit. normalize()
Get a normalized vector aligned with the instance.Vector3D.Unit
Vector3D. normalizeOrNull()
Attempt to compute a normalized vector aligned with the instance, returning null if such a vector cannot be computed.Vector3D.Unit
Vector3D.Unit. normalizeOrNull()
Attempt to compute a normalized vector aligned with the instance, returning null if such a vector cannot be computed.Vector3D.Unit
Vector3D. orthogonal()
Get a unit vector orthogonal to the instance.Vector3D.Unit
Vector3D. orthogonal(Vector3D dir)
Get a unit vector orthogonal to the current vector and pointing in the direction ofdir
.private static Vector3D.Unit
Vector3D.Unit. tryCreateNormalized(double x, double y, double z, boolean throwOnFailure)
Attempt to create a normalized vector from the given coordinate values.Constructors in org.apache.commons.geometry.euclidean.threed with parameters of type Vector3D.Unit Constructor Description EmbeddingPlane(Vector3D.Unit u, Vector3D.Unit v, Vector3D.Unit w, double originOffset, org.apache.commons.numbers.core.Precision.DoubleEquivalence precision)
Construct a new instance from an orthonormal set of basis vectors and an origin offset.Plane(Vector3D.Unit normal, double originOffset, org.apache.commons.numbers.core.Precision.DoubleEquivalence precision)
Construct a plane from its component parts. -
Uses of Vector3D.Unit in org.apache.commons.geometry.spherical.twod
Fields in org.apache.commons.geometry.spherical.twod declared as Vector3D.Unit Modifier and Type Field Description private Vector3D.Unit
GreatCircle. pole
Pole or circle center.private Vector3D.Unit
GreatCircle. u
First axis in the equator plane, origin of the azimuth angles.private Vector3D.Unit
GreatCircle. v
Second axis in the equator plane, in quadrature with respect to u.private Vector3D.Unit
Point2S. vector
Corresponding 3D normalized vector.Methods in org.apache.commons.geometry.spherical.twod that return Vector3D.Unit Modifier and Type Method Description private static Vector3D.Unit
Point2S. computeVector(double azimuth, double polar)
Compute the 3D Euclidean vector associated with the given spherical coordinates.Vector3D.Unit
GreatCircle. getPole()
Get the pole of the great circle.Vector3D.Unit
GreatCircle. getU()
Get the u axis of the great circle.Vector3D.Unit
GreatCircle. getV()
Get the v axis of the great circle.Vector3D.Unit
Point2S. getVector()
Get the corresponding normalized vector in 3D Euclidean space.Vector3D.Unit
GreatCircle. getW()
Get the w (pole) axis of the great circle.Methods in org.apache.commons.geometry.spherical.twod with parameters of type Vector3D.Unit Modifier and Type Method Description private static double
ConvexArea2S. computeArcCentroidContribution(Vector3D.Unit a, Vector3D.Unit b, Vector3D.Unit triangleCentroid)
Compute the contribution made by a single arc to a weighted centroid vector.Constructors in org.apache.commons.geometry.spherical.twod with parameters of type Vector3D.Unit Constructor Description GreatCircle(Vector3D.Unit pole, Vector3D.Unit u, Vector3D.Unit v, org.apache.commons.numbers.core.Precision.DoubleEquivalence precision)
Simple constructor.Point2S(double azimuth, double polar, Vector3D.Unit vector)
Build a point from its internal components.
-