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.)

Variable Index

 o matrixOptimizeTolerance
 o parallelLineCosAngleTolerance
 o parallelLineVectorProductTolerance

Method Index

 o add(Point3, Vector3, Point3)
 o add(Quaternion, Quaternion, Quaternion)
 o add(Vector3, Point3, Point3)
 o add(Vector3, Vector3, Vector3)
 o allocBoundingBox3()
 o allocDimension2()
 o allocDimension3()
 o allocMatrix3()
 o allocMatrix4()
 o allocPoint2()
 o allocPoint3()
 o allocQuaternion()
 o allocRay3()
 o allocRectangle2()
 o allocVector2()
 o allocVector3()
 o cross(Point3, Point3, Point3, Vector3)
Compute the cross product of the two vectors q - p and r - q.
 o cross(Vector3, Vector3, Vector3)
 o crossmag(Vector3, Vector3)
Compute the magnitude of the cross product V x W.
 o distance(Point3, Point3)
 o dot(Quaternion, Quaternion)
 o dot(Vector3, Vector3)
 o free(BoundingBox3)
 o free(Dimension2)
 o free(Dimension3)
 o free(Matrix3)
 o free(Matrix4)
 o free(Point2)
 o free(Point3)
 o free(Quaternion)
 o free(Ray3)
 o free(Rectangle2)
 o free(Vector2)
 o free(Vector3)
 o invert(Matrix4, Matrix4)
Set dst to the inverse of m.
 o magnitude(Vector3)
 o multiply(float, Vector3, Vector3)
 o multiply(Matrix4, BoundingBox3, BoundingBox3)
 o multiply(Matrix4, Matrix4, Matrix4)
 o multiply(Matrix4, Vector3)
 o multiply(Matrix4, Vector3, Vector3)
 o multiply(Point3, Matrix4)
 o multiply(Point3, Matrix4, Point3)
 o multiply(Quaternion, Matrix4, Matrix4)
 o multiply(Quaternion, Quaternion, Quaternion)
 o multiply(Vector3, float, Vector3)
 o multiply(Vector3, Matrix4)
 o multiply(Vector3, Matrix4, Vector3)
 o normalize(Quaternion, Quaternion)
 o normalize(Vector3, Vector3)
 o subtract(Point3, Point3, Vector3)
 o subtract(Point3, Vector3, Point3)
 o subtract(Quaternion, Quaternion, Quaternion)
 o subtract(Vector3, Vector3, Vector3)

Variables

 o matrixOptimizeTolerance
  public final static float matrixOptimizeTolerance
 o parallelLineCosAngleTolerance
  public final static float parallelLineCosAngleTolerance
 o parallelLineVectorProductTolerance
  public final static float parallelLineVectorProductTolerance

Methods

 o add
  public static void add(Vector3 v,
                         Vector3 w,
                         Vector3 dst)
 o add
  public static void add(Point3 p,
                         Vector3 v,
                         Point3 dst)
 o add
  public static void add(Vector3 v,
                         Point3 p,
                         Point3 dst)
 o subtract
  public static void subtract(Vector3 v,
                              Vector3 w,
                              Vector3 dst)
 o subtract
  public static void subtract(Point3 p,
                              Point3 q,
                              Vector3 dst)
 o subtract
  public static void subtract(Point3 p,
                              Vector3 v,
                              Point3 dst)
 o add
  public static void add(Quaternion q,
                         Quaternion r,
                         Quaternion dst)
 o subtract
  public static void subtract(Quaternion q,
                              Quaternion r,
                              Quaternion dst)
 o dot
  public static float dot(Vector3 v,
                          Vector3 w)
 o dot
  public static float dot(Quaternion q,
                          Quaternion r)
 o cross
  public static void cross(Vector3 v,
                           Vector3 w,
                           Vector3 dst)
 o 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.
 o crossmag
  public static float crossmag(Vector3 v,
                               Vector3 w)
Compute the magnitude of the cross product V x W.
 o magnitude
  public static float magnitude(Vector3 v)
 o distance
  public static float distance(Point3 p,
                               Point3 q)
 o multiply
  public static void multiply(Vector3 v,
                              float s,
                              Vector3 dst)
 o multiply
  public static void multiply(float s,
                              Vector3 v,
                              Vector3 dst)
 o multiply
  public static void multiply(Matrix4 m,
                              Matrix4 n,
                              Matrix4 dst)
 o multiply
  public static void multiply(Matrix4 m,
                              Vector3 v,
                              Vector3 dst)
 o multiply
  public static void multiply(Matrix4 m,
                              Vector3 dst)
 o multiply
  public static void multiply(Vector3 v,
                              Matrix4 m,
                              Vector3 dst)
 o multiply
  public static void multiply(Vector3 dst,
                              Matrix4 m)
 o multiply
  public static void multiply(Point3 p,
                              Matrix4 m,
                              Point3 dst)
 o multiply
  public static void multiply(Point3 dst,
                              Matrix4 m)
 o multiply
  public static void multiply(Quaternion q,
                              Quaternion r,
                              Quaternion dst)
 o multiply
  public static void multiply(Quaternion q,
                              Matrix4 m,
                              Matrix4 dst)
 o multiply
  public static void multiply(Matrix4 m,
                              BoundingBox3 b,
                              BoundingBox3 dst)
 o invert
  public static void invert(Matrix4 m,
                            Matrix4 dst) throws MatrixInversionException
Set dst to the inverse of m. @exception MatrixInversionException if m is singular.
 o normalize
  public static void normalize(Vector3 v,
                               Vector3 dst)
 o normalize
  public static void normalize(Quaternion q,
                               Quaternion dst)
 o allocBoundingBox3
  public static BoundingBox3 allocBoundingBox3()
 o free
  public static void free(BoundingBox3 obj)
 o allocDimension2
  public static Dimension2 allocDimension2()
 o free
  public static void free(Dimension2 obj)
 o allocDimension3
  public static Dimension3 allocDimension3()
 o free
  public static void free(Dimension3 obj)
 o allocMatrix3
  public static Matrix3 allocMatrix3()
 o free
  public static void free(Matrix3 obj)
 o allocMatrix4
  public static Matrix4 allocMatrix4()
 o free
  public static void free(Matrix4 obj)
 o allocPoint2
  public static Point2 allocPoint2()
 o free
  public static void free(Point2 obj)
 o allocPoint3
  public static Point3 allocPoint3()
 o free
  public static void free(Point3 obj)
 o allocQuaternion
  public static Quaternion allocQuaternion()
 o free
  public static void free(Quaternion obj)
 o allocRay3
  public static Ray3 allocRay3()
 o free
  public static void free(Ray3 obj)
 o allocRectangle2
  public static Rectangle2 allocRectangle2()
 o free
  public static void free(Rectangle2 obj)
 o allocVector2
  public static Vector2 allocVector2()
 o free
  public static void free(Vector2 obj)
 o allocVector3
  public static Vector3 allocVector3()
 o free
  public static void free(Vector3 obj)

All Packages  Class Hierarchy  This Package  Previous  Next  Index