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.UnitVector3D.Unit. MINUS_XNegation of unit vector (coordinates: -1, 0, 0).static Vector3D.UnitVector3D.Unit. MINUS_YNegation of unit vector (coordinates: 0, -1, 0).static Vector3D.UnitVector3D.Unit. MINUS_ZNegation of unit vector (coordinates: 0, 0, -1).private Vector3D.UnitPlane. normalPlane normal.private Vector3D.UnitPlanes.PlaneBuilder. normalThe computednormalvector for the plane.static Vector3D.UnitVector3D.Unit. PLUS_XUnit vector (coordinates: 1, 0, 0).static Vector3D.UnitVector3D.Unit. PLUS_YUnit vector (coordinates: 0, 1, 0).static Vector3D.UnitVector3D.Unit. PLUS_ZUnit vector (coordinates: 0, 0, 1).private Vector3D.UnitEmbeddingPlane. uFirst normalized vector of the plane frame (in plane).private Vector3D.UnitEmbeddingPlane. vSecond 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.UnitAffineTransformMatrix3D. applyDirection(Vector3D vec)Apply this transform to the given vector, ignoring translations and normalizing the result.Vector3D.UnitVector3D. 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.UnitVector3D.Unit. from(Vector3D v)Create a normalized vector.Vector3D.UnitPlane. getNormal()Get the plane normal vector.Vector3D.UnitEmbeddingPlane. getU()Get the plane first canonical vector.Vector3D.UnitEmbeddingPlane. getV()Get the plane second canonical vector.Vector3D.UnitEmbeddingPlane. getW()Get the plane third canonical vector, ie, the plane normal.Vector3D.UnitVector3D.Unit. negate()Get the negation of the instance.Vector3D.UnitVector3D. normalize()Get a normalized vector aligned with the instance.Vector3D.UnitVector3D.Unit. normalize()Get a normalized vector aligned with the instance.Vector3D.UnitVector3D. normalizeOrNull()Attempt to compute a normalized vector aligned with the instance, returning null if such a vector cannot be computed.Vector3D.UnitVector3D.Unit. normalizeOrNull()Attempt to compute a normalized vector aligned with the instance, returning null if such a vector cannot be computed.Vector3D.UnitVector3D. orthogonal()Get a unit vector orthogonal to the instance.Vector3D.UnitVector3D. 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.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.UnitGreatCircle. polePole or circle center.private Vector3D.UnitGreatCircle. uFirst axis in the equator plane, origin of the azimuth angles.private Vector3D.UnitGreatCircle. vSecond axis in the equator plane, in quadrature with respect to u.private Vector3D.UnitPoint2S. vectorCorresponding 3D normalized vector.Methods in org.apache.commons.geometry.spherical.twod that return Vector3D.Unit Modifier and Type Method Description private static Vector3D.UnitPoint2S. computeVector(double azimuth, double polar)Compute the 3D Euclidean vector associated with the given spherical coordinates.Vector3D.UnitGreatCircle. getPole()Get the pole of the great circle.Vector3D.UnitGreatCircle. getU()Get the u axis of the great circle.Vector3D.UnitGreatCircle. getV()Get the v axis of the great circle.Vector3D.UnitPoint2S. getVector()Get the corresponding normalized vector in 3D Euclidean space.Vector3D.UnitGreatCircle. 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 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.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.
-