Uses of Class
org.apache.commons.geometry.euclidean.threed.Vector3D.Unit
Packages that use Vector3D.Unit
Package
Description
This package provides basic 3D geometry components.
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.UnitModifier and TypeFieldDescriptionstatic final Vector3D.Unit
Vector3D.Unit.MINUS_X
Negation of unit vector (coordinates: -1, 0, 0).static final Vector3D.Unit
Vector3D.Unit.MINUS_Y
Negation of unit vector (coordinates: 0, -1, 0).static final Vector3D.Unit
Vector3D.Unit.MINUS_Z
Negation of unit vector (coordinates: 0, 0, -1).private final Vector3D.Unit
Plane.normal
Plane normal.private Vector3D.Unit
Planes.PlaneBuilder.normal
The computednormal
vector for the plane.static final Vector3D.Unit
Vector3D.Unit.PLUS_X
Unit vector (coordinates: 1, 0, 0).static final Vector3D.Unit
Vector3D.Unit.PLUS_Y
Unit vector (coordinates: 0, 1, 0).static final Vector3D.Unit
Vector3D.Unit.PLUS_Z
Unit vector (coordinates: 0, 0, 1).private final Vector3D.Unit
EmbeddingPlane.u
First normalized vector of the plane frame (in plane).private final Vector3D.Unit
EmbeddingPlane.v
Second normalized vector of the plane frame (in plane).Methods in org.apache.commons.geometry.euclidean.threed that return Vector3D.UnitModifier and TypeMethodDescriptionAffineTransformMatrix3D.applyDirection
(Vector3D vec) Apply this transform to the given vector, ignoring translations and normalizing the result.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
Create a normalized vector.Plane.getNormal()
Get the plane normal vector.EmbeddingPlane.getU()
Get the plane first canonical vector.EmbeddingPlane.getV()
Get the plane second canonical vector.EmbeddingPlane.getW()
Get the plane third canonical vector, ie, the plane normal.Vector3D.Unit.negate()
Get the negation of the instance.Vector3D.normalize()
Get a normalized vector aligned with the instance.Vector3D.Unit.normalize()
Get a normalized vector aligned with the instance.Vector3D.normalizeOrNull()
Attempt to compute a normalized vector aligned with the instance, returning null if such a vector cannot be computed.Vector3D.Unit.normalizeOrNull()
Attempt to compute a normalized vector aligned with the instance, returning null if such a vector cannot be computed.Vector3D.orthogonal()
Get a unit vector orthogonal to the instance.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.UnitModifierConstructorDescription(package private)
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.(package private)
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.UnitModifier and TypeFieldDescriptionprivate final Vector3D.Unit
GreatCircle.pole
Pole or circle center.private final Vector3D.Unit
GreatCircle.u
First axis in the equator plane, origin of the azimuth angles.private final Vector3D.Unit
GreatCircle.v
Second axis in the equator plane, in quadrature with respect to u.private final Vector3D.Unit
Point2S.vector
Corresponding 3D normalized vector.Methods in org.apache.commons.geometry.spherical.twod that return Vector3D.UnitModifier and TypeMethodDescriptionprivate static Vector3D.Unit
Point2S.computeVector
(double azimuth, double polar) Compute the 3D Euclidean vector associated with the given spherical coordinates.GreatCircle.getPole()
Get the pole of the great circle.GreatCircle.getU()
Get the u axis of the great circle.GreatCircle.getV()
Get the v axis of the great circle.Point2S.getVector()
Get the corresponding normalized vector in 3D Euclidean space.GreatCircle.getW()
Get the w (pole) axis of the great circle.Methods in org.apache.commons.geometry.spherical.twod with parameters of type Vector3D.UnitModifier and TypeMethodDescriptionprivate 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.UnitModifierConstructorDescription(package private)
GreatCircle
(Vector3D.Unit pole, Vector3D.Unit u, Vector3D.Unit v, org.apache.commons.numbers.core.Precision.DoubleEquivalence precision) Simple constructor.private
Point2S
(double azimuth, double polar, Vector3D.Unit vector) Build a point from its internal components.