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 :
|
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.
|
Vector3D |
Vector3D.plus(Vector3D v)
Return the sum of current vector with vector given as parameter.
|
Modifier and Type | Method and Description |
---|---|
Vector3D |
StraightLine3D.getDirection() |
Constructor and Description |
---|
StraightLine3D(Point3D origin,
Vector3D direction) |
Modifier and Type | Method and Description |
---|---|
Vector3D |
Plane3D.getNormalVector()
Points towars the outside part of the plane.
|
Vector3D |
Plane3D.getVector1() |
Vector3D |
Plane3D.getVector2() |
Vector3D |
Plane3D.projectVector(Vector3D vect) |
Modifier and Type | Method and Description |
---|---|
Vector3D |
Plane3D.projectVector(Vector3D vect) |
Constructor and Description |
---|
Plane3D(Point3D point,
Vector3D vector1,
Vector3D vector2) |
Modifier and Type | Method and Description |
---|---|
static AffineTransform3D |
AffineTransform3D.createTranslation(Vector3D vec) |
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.