|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Vector3DDouble | |
---|---|
za.co.luma.geom | Contains classes for representing simple geometric types, such as points / vectors and segments. |
Uses of Vector3DDouble in za.co.luma.geom |
---|
Methods in za.co.luma.geom that return Vector3DDouble | |
---|---|
static Vector3DDouble |
Vector3DDouble.add(Vector3DDouble p1,
Vector3DDouble p2)
Adds two vectors, and return the result. |
static Vector3DDouble |
Vector3DDouble.getPointBetween(Vector3DDouble p1,
Vector3DDouble p2,
double r)
Gets a point between two points. |
static Vector3DDouble |
Vector3DDouble.scale(Vector3DDouble p,
double r)
Returns a new vector, in the same direction as p, but sacled by a factor r. |
static Vector3DDouble |
Vector3DDouble.subtract(Vector3DDouble p1,
Vector3DDouble p2)
Subtracts p2 from p1 and returns the result as a new vector. |
static Vector3DDouble |
Vector3DDouble.unit(Vector3DDouble p1)
Returns a new unit vector in the same direcction as the given vector. |
Vector3DDouble |
Vector3DDouble.unitVector()
Returns a unit length vector in the same direction is this vector. |
Methods in za.co.luma.geom with parameters of type Vector3DDouble | |
---|---|
static Vector3DDouble |
Vector3DDouble.add(Vector3DDouble p1,
Vector3DDouble p2)
Adds two vectors, and return the result. |
static double |
Vector3DDouble.distance(Vector3DDouble p1,
Vector3DDouble p2)
Returns the Euclidean distance between two points. |
static double |
Vector3DDouble.getHeight(double x,
double y,
Vector3DDouble p,
Vector3DDouble q)
Returns a z-coordinate so that the vector (x, y, z) lies in the same plane as the plane which contains both p and q. |
static Vector3DDouble |
Vector3DDouble.getPointBetween(Vector3DDouble p1,
Vector3DDouble p2,
double r)
Gets a point between two points. |
static boolean |
Vector3DDouble.pointInTriangle(Vector3DDouble p,
Vector3DDouble a,
Vector3DDouble b,
Vector3DDouble c)
Checks whether a point lies within the triangle described by three vertices. |
static boolean |
Vector3DDouble.sameSide(Vector3DDouble p1,
Vector3DDouble p2,
Vector3DDouble a,
Vector3DDouble b)
Checks whether a and b lies on the same side of line p1-p2, or not. |
static double |
Vector3DDouble.scalarCross(Vector3DDouble p1,
Vector3DDouble p2)
Returns the z-coordinate of the cross product of two points projected on the plane z = 0, (embedded in 3D space). |
static Vector3DDouble |
Vector3DDouble.scale(Vector3DDouble p,
double r)
Returns a new vector, in the same direction as p, but sacled by a factor r. |
static double |
Vector3DDouble.size(Vector3DDouble p)
Returns the Euclidean length of this vector. |
static Vector3DDouble |
Vector3DDouble.subtract(Vector3DDouble p1,
Vector3DDouble p2)
Subtracts p2 from p1 and returns the result as a new vector. |
static Vector3DDouble |
Vector3DDouble.unit(Vector3DDouble p1)
Returns a new unit vector in the same direcction as the given vector. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |