| Package | Description |
|---|---|
| org.locationtech.jts.math |
| Modifier and Type | Method and Description |
|---|---|
Vector3D |
Vector3D.add(Vector3D v)
Computes a vector which is the sum
of this vector and the given vector.
|
static Vector3D |
Vector3D.create(Coordinate coord)
Creates a vector from a 3D
Coordinate. |
static Vector3D |
Vector3D.create(double x,
double y,
double z)
Creates a new vector with given X, Y and Z components.
|
Vector3D |
Vector3D.divide(double d)
Creates a new vector which has the same direction
and with length equals to the length of this vector
divided by the scalar value
d. |
Vector3D |
Vector3D.normalize()
Computes a vector having identical direction
but normalized to have length 1.
|
Vector3D |
Vector3D.subtract(Vector3D v)
Computes a vector which is the difference
of this vector and the given vector.
|
| Modifier and Type | Method and Description |
|---|---|
Vector3D |
Vector3D.add(Vector3D v)
Computes a vector which is the sum
of this vector and the given vector.
|
double |
Vector3D.dot(Vector3D v)
Computes the dot-product of two vectors
|
Vector3D |
Vector3D.subtract(Vector3D v)
Computes a vector which is the difference
of this vector and the given vector.
|
| Constructor and Description |
|---|
Plane3D(Vector3D normal,
Coordinate basePt) |
Copyright © 2024. All rights reserved.