|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttreebolic.core.Complex
treebolic.core.HyperRotation
public class HyperRotation
Rotation in hyperbolic space
Field Summary |
---|
Fields inherited from class treebolic.core.Complex |
---|
EAST, im, NORTH, ONE, re, SOUTH, WEST, ZERO |
Constructor Summary | |
---|---|
HyperRotation()
Defaut constructor |
|
HyperRotation(Complex z)
Constructor from rotation expressed in cartesian value relative to (0,0) origin and x-axis |
|
HyperRotation(double x,
double y)
Constructor from rotation expressed in cartesian value relative to (0,0) origin and x-axis |
Method Summary | |
---|---|
static HyperTransform |
compose(HyperRotation r1,
HyperTranslation t2)
Compose rotation with translation |
HyperRotation |
inverse()
Reverse |
Complex |
map(Complex z)
Rotate point |
static Complex |
map(Complex z,
Complex thisAngle)
Rotate point |
Complex |
toComplex()
Convert to complex expressing rotation as cartesian value relative to (0,0) origin and x-axis |
Methods inherited from class treebolic.core.Complex |
---|
abs2, add, add, arg, conj, conj, div, div, divide, divide, equals, mag, makeFromArg, makeFromArgAbs, mul, mul, multiply, multiply, neg, neg, normalize, onediv, set, set, sub, sub, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public HyperRotation()
public HyperRotation(Complex z)
z
- rotation expressed as cartesian valuepublic HyperRotation(double x, double y)
x
- x-coordinate of point expressing rotation expressed as cartesian valuey
- y-coordinate of point expressing rotation expressed as cartesian valueMethod Detail |
---|
public Complex toComplex()
public static Complex map(Complex z, Complex thisAngle)
z
- input pointthisAngle
- rotation angle
public Complex map(Complex z)
z
- point
public static HyperTransform compose(HyperRotation r1, HyperTranslation t2)
r1
- rotationt2
- translation
public HyperRotation inverse()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |