| Package | Description |
|---|---|
| math.geom3d |
Spatial geometry toolbox.
|
| math.geom3d.line |
Spatial geometry toolbox.
|
| math.geom3d.plane |
Spatial geometry toolbox.
|
| math.geom3d.transform |
Spatial geometry toolbox.
|
| Modifier and Type | Method and Description |
|---|---|
static Vector3D |
Vector3D.crossProduct(Vector3D v1,
Vector3D v2)
Computes the cross product of the two vectors.
|
Vector3D |
Vector3D.getNormalizedVector()
Returns the vector with same direction as this one, but with norm equal
to 1.
|
Vector3D |
Vector3D.getOpposite()
Returns the opposite vector v2 of this, such that the sum of this and v2
equals the null vector.
|
Vector3D |
Vector3D.minus(Vector3D v)
Return the subtraction of current vector with vector given as parameter.
|
Vector3D |
Vector3D.plus(Vector3D v)
Return the sum of current vector with vector given as parameter.
|
Vector3D |
Vector3D.times(double k)
Multiplies this vector by a constant.
|
Vector3D |
Vector3D.transform(AffineTransform3D trans)
Transform the vector, by using only the first 4 parameters of the
transform.
|
| Modifier and Type | Method and Description |
|---|---|
static Vector3D |
Vector3D.crossProduct(Vector3D v1,
Vector3D v2)
Computes the cross product of the two vectors.
|
static double |
Vector3D.dotProduct(Vector3D v1,
Vector3D v2)
Computes the dot product of the two vectors, defined by :
x1*x2 + y1*y2 + z1*z2
Dot product is zero if the vectors defined by the 2 vectors are
orthogonal. |
double |
Axis3D.getCoord(Vector3D vector)
Get coordinate of the axis
|
static boolean |
Vector3D.isColinear(Vector3D v1,
Vector3D v2)
test if the two vectors are colinear
|
static boolean |
Vector3D.isOrthogonal(Vector3D v1,
Vector3D v2)
test if the two vectors are orthogonal
|
Vector3D |
Vector3D.minus(Vector3D v)
Return the subtraction of current vector with vector given as parameter.
|
Point3D |
Point3D.minus(Vector3D vector) |
Vector3D |
Vector3D.plus(Vector3D v)
Return the sum of current vector with vector given as parameter.
|
Point3D |
Point3D.plus(Vector3D vector) |
| Constructor and Description |
|---|
Point3D(Vector3D vector) |
| Modifier and Type | Field and Description |
|---|---|
protected Vector3D |
StraightLine3D.vector |
protected Vector3D |
StraightLine3D.vectorInverse |
| Modifier and Type | Method and Description |
|---|---|
Vector3D |
StraightLine3D.getVector() |
Vector3D |
StraightLine3D.getVectorInverse() |
| Constructor and Description |
|---|
StraightLine3D(Point3D origin,
Vector3D vector) |
| Modifier and Type | Field and Description |
|---|---|
protected Vector3D |
Plane3D.normal |
protected Vector3D |
Plane3D.vector1 |
protected Vector3D |
Plane3D.vector2 |
protected Vector3D |
Plane3DCoordinateSubsystem.xUnitVector |
protected Vector3D |
Plane3DCoordinateSubsystem.yUnitVector |
| Modifier and Type | Method and Description |
|---|---|
Vector3D |
Plane3D.getNormalVector()
Get the normal vector
Normal is normalized.
|
Vector3D |
Plane3D.getVector1()
Get vector1
|
Vector3D |
Plane3D.getVector2()
Get vector2
|
Vector3D |
Plane3DCoordinateSubsystem.getXUnitVector()
Get X unit vector
|
Vector3D |
Plane3DCoordinateSubsystem.getYUnitVector()
Get Y unit vector
|
Vector3D |
Plane3D.project(Vector3D vector)
Project a vector onto plane
See
Plane3D.project(Point3D). |
| Modifier and Type | Method and Description |
|---|---|
double |
AxisAlignedPlane3D.getAxisCoord(Vector3D vector)
Get coordinate matching the axis perpendicular to the plane
|
Vector3D |
Plane3D.project(Vector3D vector)
Project a vector onto plane
See
Plane3D.project(Point3D). |
| Constructor and Description |
|---|
Plane3D(Point3D origin,
Vector3D vector1,
Vector3D vector2)
Construct from origin and vectors
|
| Modifier and Type | Method and Description |
|---|---|
Vector3D |
AffineTransform3D.transformVector(Vector3D vector) |
| Modifier and Type | Method and Description |
|---|---|
static AffineTransform3D |
AffineTransform3D.createScaling(Vector3D scalingVector) |
static AffineTransform3D |
AffineTransform3D.createTranslation(Vector3D vec) |
Vector3D |
AffineTransform3D.transformVector(Vector3D vector) |
Copyright © 2018 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All rights reserved.