Package | Description |
---|---|
org.apache.commons.geometry.euclidean.oned |
This package provides basic 1D geometry components.
|
Modifier and Type | Field and Description |
---|---|
static Vector1D.Unit |
Vector1D.Unit.MINUS
Negation of unit vector (coordinates: -1).
|
static Vector1D.Unit |
Vector1D.Unit.PLUS
Unit vector (coordinates: 1).
|
Modifier and Type | Method and Description |
---|---|
Vector1D.Unit |
AffineTransformMatrix1D.applyDirection(Vector1D vec)
Apply this transform to the given vector, ignoring translations and normalizing the
result.
|
Vector1D.Unit |
Vector1D.directionTo(Vector1D v)
Return the unit vector representing the direction of displacement from this
vector to the given vector.
|
static Vector1D.Unit |
Vector1D.Unit.from(double x)
Create a normalized vector.
|
static Vector1D.Unit |
Vector1D.Unit.from(Vector1D v)
Create a normalized vector.
|
Vector1D.Unit |
OrientedPoint.getDirection()
Get the direction of the hyperplane's plus side.
|
Vector1D.Unit |
Vector1D.normalize() |
Vector1D.Unit |
Vector1D.Unit.normalize() |
Vector1D.Unit |
Vector1D.normalizeOrNull() |
Vector1D.Unit |
Vector1D.Unit.normalizeOrNull() |
Copyright © 2016–2021 The Apache Software Foundation. All rights reserved.