Package | Description |
---|---|
org.apache.commons.geometry.euclidean.threed |
This package provides basic 3D geometry components.
|
Modifier and Type | Field and 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).
|
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).
|
Modifier and Type | Method and 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() |
Vector3D.Unit |
Vector3D.normalize() |
Vector3D.Unit |
Vector3D.Unit.normalize() |
Vector3D.Unit |
Vector3D.normalizeOrNull() |
Vector3D.Unit |
Vector3D.Unit.normalizeOrNull() |
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
of
dir . |
Copyright © 2016–2021 The Apache Software Foundation. All rights reserved.