|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcalc.MoreVektorOps
public class MoreVektorOps
More unusual, but in this case useful Vector operations.
Standard operations are defined in VektorOps
. Here more "exotic"
operations can be found. They are implemented as static functions.
Constructor Summary | |
---|---|
MoreVektorOps()
|
Method Summary | |
---|---|
static Vektor |
halfway(Vektor a,
Vektor b)
Intermediate point between a and b. |
static Vektor |
identicalVektor(Vektor A)
Returns the same vector as the input vector. |
static Vektor |
mirrorX(Vektor A)
Mirrors the vector at the YZ-plane. |
static Vektor |
mirrorY(Vektor A)
Mirrors the vector at the XZ-plane. |
static Vektor |
mirrorZ(Vektor A)
Mirrors the vector at the XY-plane. |
static Vektor |
orthoVektor(Vektor A,
Vektor B,
Vektor C,
double u,
double v,
double w)
|
static Vektor |
reziprokVektorA(Vektor ATilde,
Vektor BTilde,
Vektor CTilde)
Gives the first reciprocal lattice vector. |
static Vektor |
reziprokVektorB(Vektor ATilde,
Vektor BTilde,
Vektor CTilde)
Gives the second reciprocal lattice vector. |
static Vektor |
reziprokVektorC(Vektor ATilde,
Vektor BTilde,
Vektor CTilde)
Gives the third reciprocal lattice vector. |
static Vektor |
triVektor(Vektor A,
Vektor B,
Vektor C,
double u,
double v,
double w)
Linear combination of reciprocal base vectors. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MoreVektorOps()
Method Detail |
---|
public static Vektor reziprokVektorA(Vektor ATilde, Vektor BTilde, Vektor CTilde)
ATilde
- Vektor a in the spatial lattice.BTilde
- Vektor c in the spatial lattice.CTilde
- Vektor c in the spatial lattice.
public static Vektor reziprokVektorB(Vektor ATilde, Vektor BTilde, Vektor CTilde)
ATilde
- Vektor a in the spatial lattice.BTilde
- Vektor c in the spatial lattice.CTilde
- Vektor c in the spatial lattice.
public static Vektor reziprokVektorC(Vektor ATilde, Vektor BTilde, Vektor CTilde)
ATilde
- Vektor a in the spatial lattice.BTilde
- Vektor c in the spatial lattice.CTilde
- Vektor c in the spatial lattice.
public static Vektor triVektor(Vektor A, Vektor B, Vektor C, double u, double v, double w)
A
- base vector AB
- base vector BC
- base vector Cu
- linear coefficient uv
- linear coefficient vw
- linear coefficient w
public static Vektor orthoVektor(Vektor A, Vektor B, Vektor C, double u, double v, double w)
public static Vektor identicalVektor(Vektor A)
A
-
public static Vektor halfway(Vektor a, Vektor b)
a
- One pointb
- Another point
public static Vektor mirrorX(Vektor A)
A
- a vector
public static Vektor mirrorY(Vektor A)
A
- a vector
public static Vektor mirrorZ(Vektor A)
A
- a vector
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |