Uses of Class
ffx.numerics.quickhull.Vector3d

Packages that use Vector3d
Package
Description
The Quickhull package provides a 3D convex hull implementation and supporting data structures (faces, half-edges, vertices, points and vectors).
  • Uses of Vector3d in ffx.numerics.quickhull

    Modifier and Type
    Class
    Description
    class 
    A three-element spatial point.
    Methods in ffx.numerics.quickhull that return Vector3d
    Modifier and Type
    Method
    Description
    Face.getNormal()
    Returns the normal of the plane associated with this face.
    Methods in ffx.numerics.quickhull with parameters of type Vector3d
    Modifier and Type
    Method
    Description
    void
    Vector3d.add(Vector3d v1)
    Adds this vector to v1 and places the result in this vector.
    void
    Vector3d.add(Vector3d v1, Vector3d v2)
    Adds vector v1 to v2 and places the result in this vector.
    void
    Face.computeNormal(Vector3d normal)
    Computes a unit-length normal vector for this face using the vertex winding and writes it into the provided vector.
    void
    Face.computeNormal(Vector3d normal, double minArea)
    Computes a unit-length normal for this face, and if the preliminary area is below the specified minArea, adjusts the normal to be more orthogonal to the longest edge to improve robustness.
    void
    Vector3d.cross(Vector3d v1, Vector3d v2)
    Computes the cross product of v1 and v2 and places the result in this vector.
    double
    Vector3d.distance(Vector3d v)
    Returns the Euclidean distance between this vector and vector v.
    double
    Returns the squared of the Euclidean distance between this vector and vector v.
    double
    Vector3d.dot(Vector3d v1)
    Returns the dot product of this vector and v1.
    void
    Vector3d.scale(double s, Vector3d v1)
    Scales the elements of vector v1 by s and places the results in this vector.
    void
    Vector3d.set(Vector3d v1)
    Sets the values of this vector to those of v1.
    void
    Vector3d.sub(Vector3d v1)
    Subtracts v1 from this vector and places the result in this vector.
    void
    Vector3d.sub(Vector3d v1, Vector3d v2)
    Subtracts vector v1 from v2 and places the result in this vector.
    Constructors in ffx.numerics.quickhull with parameters of type Vector3d
    Modifier
    Constructor
    Description
     
    Creates a Point3d by copying a vector
     
    Creates a 3-vector by copying an existing one.