Class dnx.geom.Geom
All Packages Class Hierarchy This Package Previous Next Index
Class dnx.geom.Geom
java.lang.Object
|
+----dnx.geom.Geom
- public final class Geom
- extends Object
This class cannot be subclassed or instantiated because all
methods are static.
All functions in this package are safe if any or all arguments are the
same as any other arguments. (All functions are static so `this' is
meaningless.)
-
matrixOptimizeTolerance
-
-
parallelLineCosAngleTolerance
-
-
parallelLineVectorProductTolerance
-
-
add(Point3, Vector3, Point3)
-
-
add(Quaternion, Quaternion, Quaternion)
-
-
add(Vector3, Point3, Point3)
-
-
add(Vector3, Vector3, Vector3)
-
-
allocBoundingBox3()
-
-
allocDimension2()
-
-
allocDimension3()
-
-
allocMatrix3()
-
-
allocMatrix4()
-
-
allocPoint2()
-
-
allocPoint3()
-
-
allocQuaternion()
-
-
allocRay3()
-
-
allocRectangle2()
-
-
allocVector2()
-
-
allocVector3()
-
-
cross(Point3, Point3, Point3, Vector3)
- Compute the cross product of the two vectors q - p and r - q.
-
cross(Vector3, Vector3, Vector3)
-
-
crossmag(Vector3, Vector3)
- Compute the magnitude of the cross product V x W.
-
distance(Point3, Point3)
-
-
dot(Quaternion, Quaternion)
-
-
dot(Vector3, Vector3)
-
-
free(BoundingBox3)
-
-
free(Dimension2)
-
-
free(Dimension3)
-
-
free(Matrix3)
-
-
free(Matrix4)
-
-
free(Point2)
-
-
free(Point3)
-
-
free(Quaternion)
-
-
free(Ray3)
-
-
free(Rectangle2)
-
-
free(Vector2)
-
-
free(Vector3)
-
-
invert(Matrix4, Matrix4)
- Set dst to the inverse of m.
-
magnitude(Vector3)
-
-
multiply(float, Vector3, Vector3)
-
-
multiply(Matrix4, BoundingBox3, BoundingBox3)
-
-
multiply(Matrix4, Matrix4, Matrix4)
-
-
multiply(Matrix4, Vector3)
-
-
multiply(Matrix4, Vector3, Vector3)
-
-
multiply(Point3, Matrix4)
-
-
multiply(Point3, Matrix4, Point3)
-
-
multiply(Quaternion, Matrix4, Matrix4)
-
-
multiply(Quaternion, Quaternion, Quaternion)
-
-
multiply(Vector3, float, Vector3)
-
-
multiply(Vector3, Matrix4)
-
-
multiply(Vector3, Matrix4, Vector3)
-
-
normalize(Quaternion, Quaternion)
-
-
normalize(Vector3, Vector3)
-
-
subtract(Point3, Point3, Vector3)
-
-
subtract(Point3, Vector3, Point3)
-
-
subtract(Quaternion, Quaternion, Quaternion)
-
-
subtract(Vector3, Vector3, Vector3)
-
matrixOptimizeTolerance
public final static float matrixOptimizeTolerance
parallelLineCosAngleTolerance
public final static float parallelLineCosAngleTolerance
parallelLineVectorProductTolerance
public final static float parallelLineVectorProductTolerance
add
public static void add(Vector3 v,
Vector3 w,
Vector3 dst)
add
public static void add(Point3 p,
Vector3 v,
Point3 dst)
add
public static void add(Vector3 v,
Point3 p,
Point3 dst)
subtract
public static void subtract(Vector3 v,
Vector3 w,
Vector3 dst)
subtract
public static void subtract(Point3 p,
Point3 q,
Vector3 dst)
subtract
public static void subtract(Point3 p,
Vector3 v,
Point3 dst)
add
public static void add(Quaternion q,
Quaternion r,
Quaternion dst)
subtract
public static void subtract(Quaternion q,
Quaternion r,
Quaternion dst)
dot
public static float dot(Vector3 v,
Vector3 w)
dot
public static float dot(Quaternion q,
Quaternion r)
cross
public static void cross(Vector3 v,
Vector3 w,
Vector3 dst)
cross
public static void cross(Point3 p,
Point3 q,
Point3 r,
Vector3 dst)
- Compute the cross product of the two vectors q - p and r - q.
crossmag
public static float crossmag(Vector3 v,
Vector3 w)
- Compute the magnitude of the cross product V x W.
magnitude
public static float magnitude(Vector3 v)
distance
public static float distance(Point3 p,
Point3 q)
multiply
public static void multiply(Vector3 v,
float s,
Vector3 dst)
multiply
public static void multiply(float s,
Vector3 v,
Vector3 dst)
multiply
public static void multiply(Matrix4 m,
Matrix4 n,
Matrix4 dst)
multiply
public static void multiply(Matrix4 m,
Vector3 v,
Vector3 dst)
multiply
public static void multiply(Matrix4 m,
Vector3 dst)
multiply
public static void multiply(Vector3 v,
Matrix4 m,
Vector3 dst)
multiply
public static void multiply(Vector3 dst,
Matrix4 m)
multiply
public static void multiply(Point3 p,
Matrix4 m,
Point3 dst)
multiply
public static void multiply(Point3 dst,
Matrix4 m)
multiply
public static void multiply(Quaternion q,
Quaternion r,
Quaternion dst)
multiply
public static void multiply(Quaternion q,
Matrix4 m,
Matrix4 dst)
multiply
public static void multiply(Matrix4 m,
BoundingBox3 b,
BoundingBox3 dst)
invert
public static void invert(Matrix4 m,
Matrix4 dst) throws MatrixInversionException
- Set dst to the inverse of m.
@exception MatrixInversionException if m is singular.
normalize
public static void normalize(Vector3 v,
Vector3 dst)
normalize
public static void normalize(Quaternion q,
Quaternion dst)
allocBoundingBox3
public static BoundingBox3 allocBoundingBox3()
free
public static void free(BoundingBox3 obj)
allocDimension2
public static Dimension2 allocDimension2()
free
public static void free(Dimension2 obj)
allocDimension3
public static Dimension3 allocDimension3()
free
public static void free(Dimension3 obj)
allocMatrix3
public static Matrix3 allocMatrix3()
free
public static void free(Matrix3 obj)
allocMatrix4
public static Matrix4 allocMatrix4()
free
public static void free(Matrix4 obj)
allocPoint2
public static Point2 allocPoint2()
free
public static void free(Point2 obj)
allocPoint3
public static Point3 allocPoint3()
free
public static void free(Point3 obj)
allocQuaternion
public static Quaternion allocQuaternion()
free
public static void free(Quaternion obj)
allocRay3
public static Ray3 allocRay3()
free
public static void free(Ray3 obj)
allocRectangle2
public static Rectangle2 allocRectangle2()
free
public static void free(Rectangle2 obj)
allocVector2
public static Vector2 allocVector2()
free
public static void free(Vector2 obj)
allocVector3
public static Vector3 allocVector3()
free
public static void free(Vector3 obj)
All Packages Class Hierarchy This Package Previous Next Index