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 classes and utilities for lines in 3D Euclidean space.
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.UnitVector3D.Unit.MINUS_XNegation of unit vector (coordinates: -1, 0, 0).static final Vector3D.UnitVector3D.Unit.MINUS_YNegation of unit vector (coordinates: 0, -1, 0).static final Vector3D.UnitVector3D.Unit.MINUS_ZNegation of unit vector (coordinates: 0, 0, -1).static final Vector3D.UnitVector3D.Unit.PLUS_XUnit vector (coordinates: 1, 0, 0).static final Vector3D.UnitVector3D.Unit.PLUS_YUnit vector (coordinates: 0, 1, 0).static final Vector3D.UnitVector3D.Unit.PLUS_ZUnit vector (coordinates: 0, 0, 1).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.UnitVector3D.Unit.from(double x, double y, double z) Create a normalized vector.static Vector3D.UnitCreate 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. -
Uses of Vector3D.Unit in org.apache.commons.geometry.euclidean.threed.line
Subclasses with type arguments of type Vector3D.Unit in org.apache.commons.geometry.euclidean.threed.lineModifier and TypeClassDescriptionclassClass representing intersections resulting from linecast operations in Euclidean 3D space. -
Uses of Vector3D.Unit in org.apache.commons.geometry.spherical.twod
Methods in org.apache.commons.geometry.spherical.twod that return Vector3D.UnitModifier and TypeMethodDescriptionGreatCircle.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.