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).private final Vector3D.UnitPlane.normalPlane normal.private Vector3D.UnitPlanes.PlaneBuilder.normalThe computednormalvector for the plane.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).private final Vector3D.UnitEmbeddingPlane.uFirst normalized vector of the plane frame (in plane).private final Vector3D.UnitEmbeddingPlane.vSecond 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.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.private static Vector3D.UnitVector3D.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.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
Fields in org.apache.commons.geometry.spherical.twod declared as Vector3D.UnitModifier and TypeFieldDescriptionprivate final Vector3D.UnitGreatCircle.polePole or circle center.private final Vector3D.UnitGreatCircle.uFirst axis in the equator plane, origin of the azimuth angles.private final Vector3D.UnitGreatCircle.vSecond axis in the equator plane, in quadrature with respect to u.private final Vector3D.UnitPoint2S.vectorCorresponding 3D normalized vector.Methods in org.apache.commons.geometry.spherical.twod that return Vector3D.UnitModifier and TypeMethodDescriptionprivate static Vector3D.UnitPoint2S.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 doubleConvexArea2S.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.privatePoint2S(double azimuth, double polar, Vector3D.Unit vector) Build a point from its internal components.