|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Complex | |
---|---|
treebolic.control | |
treebolic.core | |
treebolic.model | |
treebolic.view |
Uses of Complex in treebolic.control |
---|
Fields in treebolic.control declared as Complex | |
---|---|
private Complex |
MouseAdapter.theDragEnd
Drag end point |
private Complex |
MouseAdapter.theDragStart
Drag starting point |
Methods in treebolic.control that return Complex | |
---|---|
Complex |
Controller.viewToUnitCircle(java.awt.Point thisPoint)
Convert view space to unit circle |
Methods in treebolic.control with parameters of type Complex | |
---|---|
private boolean |
Commander.changeOrientation(Complex thisOrientation)
Change orientation |
Uses of Complex in treebolic.core |
---|
Subclasses of Complex in treebolic.core | |
---|---|
class |
HyperRotation
Rotation in hyperbolic space |
class |
HyperTranslation
Translation |
Fields in treebolic.core declared as Complex | |
---|---|
Complex |
EuclidianLocation.center
Center in (Euclidian space) unit circle |
Complex |
HyperLocation.center
Center as mapped by current transform |
Complex |
HyperLocation.center0
Center as computed by initial layout |
static Complex |
Complex.EAST
East orientation |
Complex |
Arc.from
from-end |
static Complex |
Complex.NORTH
North orientation |
static Complex |
Complex.ONE
One |
static Complex |
Complex.SOUTH
South orientation |
protected static Complex |
AbstractLayerOut.theDefaultOrientation
Default orientation |
private Complex |
HyperOptimizedTransform.theInverseRot
Precomputed 1/theta |
protected Complex |
AbstractLayerOut.theRootOrientation
Root orientation |
private Complex |
HyperOptimizedTransform.theXlatConj
Precomputed ~p |
private Complex |
HyperOptimizedTransform.theXlatOntheRot
Precomputed p/theta |
Complex |
Arc.to
to-end |
static Complex |
Complex.WEST
West orientation |
static Complex |
Complex.ZERO
Zero |
Methods in treebolic.core that return Complex | |
---|---|
Complex |
Complex.add(Complex z)
Add complex z to this complex |
Complex |
Complex.add(Complex z1,
Complex z2)
Set this complex to z1+z2 |
Complex |
Complex.conj()
Conjugate of this complex |
Complex |
Complex.conj(Complex z)
Conjugate of z |
Complex |
Complex.div(Complex z)
Division of this complex by z |
Complex |
Complex.div(Complex z1,
Complex z2)
Division |
Complex |
Complex.divide(Complex z,
double d)
Divide complex by double |
Complex |
Complex.divide(double d)
Divide this complex by double |
static Complex |
XMath.e2h(Complex e)
Map Euclidian space to Hyperbolic space |
Complex |
AbstractLayerOut.getOrientation()
Get layout orientation |
static Complex |
XMath.h2e(Complex h)
Map Hyperbolic space to Euclidian space |
static Complex |
Complex.makeFromArg(double thisArg)
Construct complex of magnitude 1 from argument re = cos(arg) im = sin(arg) |
static Complex |
Complex.makeFromArgAbs(double thisArg,
double thisMag)
Construct complex from argument and mag re = cos(arg) im = sin(arg) |
Complex |
HyperOptimizedTransform.map(Complex z)
|
Complex |
HyperRotation.map(Complex z)
Rotate point |
Complex |
HyperTransform.map(Complex z)
|
Complex |
HyperTranslation.map(Complex z)
Map point |
Complex |
IHyperTransform.map(Complex z)
Map point in hyperbolic space |
static Complex |
HyperRotation.map(Complex z,
Complex thisAngle)
Rotate point |
static Complex |
HyperTranslation.map(Complex z,
Complex p)
Map point by translation expressed as point |
static Complex |
HyperTranslation.map2(Complex z,
Complex p1,
Complex p2)
Double-map point by translations expressed as points |
Complex |
HyperTranslation.mapinv(Complex z)
Map point by this translation's inverse |
static Complex |
HyperTranslation.mapinv(Complex z,
Complex p)
Map point by inverse of translation expressed as point |
Complex |
Complex.mul(Complex z)
Multiplication of this complex by z |
Complex |
Complex.mul(Complex a,
Complex b)
Multiplication |
Complex |
Complex.multiply(Complex z,
double m)
Multiply complex by double |
Complex |
Complex.multiply(double m)
Multiply this complex by double |
Complex |
Complex.neg()
Negation of this complex |
Complex |
Complex.neg(Complex z)
Negation of complex z |
Complex |
Complex.normalize()
Map to magnitude one complex |
Complex |
Complex.onediv()
Inverse of this complex |
Complex |
Complex.set(Complex z)
Set complex to value of another complex, no new complex object is created |
Complex |
Complex.set(double x,
double y)
Set complex to values of real and imaginary parts no new complex object is created |
Complex |
Complex.sub(Complex z)
Substract complex z from this complex |
Complex |
Complex.sub(Complex z1,
Complex z2)
Set this complex to z1-z2 |
Complex |
HyperRotation.toComplex()
Convert to complex expressing rotation as cartesian value relative to (0,0) origin and x-axis |
Complex |
HyperTranslation.toComplex()
Convert to cartesian representation of translation as point relative to 0,0 |
Methods in treebolic.core with parameters of type Complex | |
---|---|
Complex |
Complex.add(Complex z)
Add complex z to this complex |
Complex |
Complex.add(Complex z1,
Complex z2)
Set this complex to z1+z2 |
private double |
LayerOut.computeOrientation(Complex thisParentCenter,
Complex thisCenter,
double thisOrientation)
Compute orientation |
Complex |
Complex.conj(Complex z)
Conjugate of z |
Complex |
Complex.div(Complex z)
Division of this complex by z |
Complex |
Complex.div(Complex z1,
Complex z2)
Division |
Complex |
Complex.divide(Complex z,
double d)
Divide complex by double |
static Complex |
XMath.e2h(Complex e)
Map Euclidian space to Hyperbolic space |
boolean |
Complex.equals(Complex z)
Complex equality |
static double |
EuclidianLocation.getDistance(Complex z1,
Complex z2)
Get Euclidian distance |
static double |
EuclidianLocation.getDistanceSquare(Complex z1,
Complex z2)
Get squared Euclidian distance |
static double |
HyperLocation.getHyperDistance(Complex z1,
Complex z2)
Distance between 2 points |
static Complex |
XMath.h2e(Complex h)
Map Hyperbolic space to Euclidian space |
abstract void |
AbstractLayerOut.layout(INode thisNode,
Complex thisCenter,
double thisHalfWedge,
double thisOrientation)
Do layout |
void |
LayerOut.layout(INode thisNode,
Complex thisCenter,
double thisHalfWedge,
double thisOrientation)
|
HyperTransform |
Transformer.makeTransform(Complex from,
Complex to,
Complex thisOrientation)
Make transform |
Complex |
HyperOptimizedTransform.map(Complex z)
|
Complex |
HyperRotation.map(Complex z)
Rotate point |
Complex |
HyperTransform.map(Complex z)
|
Complex |
HyperTranslation.map(Complex z)
Map point |
Complex |
IHyperTransform.map(Complex z)
Map point in hyperbolic space |
static Complex |
HyperRotation.map(Complex z,
Complex thisAngle)
Rotate point |
static Complex |
HyperTranslation.map(Complex z,
Complex p)
Map point by translation expressed as point |
static Complex |
HyperTranslation.map2(Complex z,
Complex p1,
Complex p2)
Double-map point by translations expressed as points |
Complex |
HyperTranslation.mapinv(Complex z)
Map point by this translation's inverse |
static Complex |
HyperTranslation.mapinv(Complex z,
Complex p)
Map point by inverse of translation expressed as point |
Complex |
Complex.mul(Complex z)
Multiplication of this complex by z |
Complex |
Complex.mul(Complex a,
Complex b)
Multiplication |
Complex |
Complex.multiply(Complex z,
double m)
Multiply complex by double |
Complex |
Complex.neg(Complex z)
Negation of complex z |
Complex |
Complex.set(Complex z)
Set complex to value of another complex, no new complex object is created |
void |
HyperLocation.set(Complex o,
double r)
Set hypercircle data |
void |
AbstractLayerOut.setOrientation(Complex thisOrientation)
Set layout orientation |
Complex |
Complex.sub(Complex z)
Substract complex z from this complex |
Complex |
Complex.sub(Complex z1,
Complex z2)
Set this complex to z1-z2 |
Constructors in treebolic.core with parameters of type Complex | |
---|---|
Arc(Complex z1,
Complex z2)
Construct segment of hyperbolic circle, which connects z1 and z2 |
|
Complex(Complex z)
Copy constructor |
|
HyperOrientationPreservingTransform(Complex from,
Complex to,
Complex thisOrientation)
Construct orientation-preserving hyperbolic transform which translates from-point to to-point while preserving given orientation |
|
HyperRadialOrientationPreservingTransform(Complex from,
Complex to,
Complex thisRoot)
|
|
HyperRotation(Complex z)
Constructor from rotation expressed in cartesian value relative to (0,0) origin and x-axis |
|
HyperTransform(Complex p,
Complex r)
Constructor from translation vector and rotation angle |
|
HyperTranslation(Complex p)
Constructor from point, cartesian representation of translation (relative to 0,0 origin) |
|
HyperTranslation(Complex from,
Complex to)
Construct tranlation from source point and destination points |
|
HyperTranslation(Complex from,
Complex to,
boolean dummy)
Constructor of hyperbolic translation which maps 'from' to 0,0 and 0,0 to 'to' |
Uses of Complex in treebolic.model |
---|
Methods in treebolic.model with parameters of type Complex | |
---|---|
INode |
Tree.findNodeAt(INode thisStart,
Complex thisLocation)
Find node nearest to location |
Uses of Complex in treebolic.view |
---|
Methods in treebolic.view that return Complex | |
---|---|
Complex |
View.viewToUnitCircle(int vx,
int vy)
Convert from view coordinates to unit circle euclidian coordinates |
Complex |
Mapper.viewToUnitCircle(int vx,
int vy,
java.awt.Dimension thisSize)
Convert view coordinates to unit circle coordinates |
Methods in treebolic.view with parameters of type Complex | |
---|---|
private void |
View.animate(Complex thisFrom,
Complex thisTo,
boolean now)
Animate tree. |
void |
View.animateTo(INode thisNode,
Complex thisDestination,
boolean now)
Animate node to destination location |
void |
View.composeRotate(Complex thisStart,
Complex thisEnd)
Compose delta rotation |
void |
View.composeTranslate(Complex thisStart,
Complex thisEnd)
Compose delta translation |
private void |
Painter.drawArc(Complex z1,
Complex z2,
java.lang.String thisLabel,
java.awt.Image thisImage,
int thisStyle,
java.awt.geom.Rectangle2D thisFromBox,
java.awt.geom.Rectangle2D thisToBox,
boolean isBorder)
Draw geodesic arc from z1 to z2 which models line from z1 to z2 |
static Animation |
Animation.make(Complex thisFrom,
Complex thisTo,
Transformer thisTransformer,
Complex thisOrientation,
int theseSteps)
Constructor |
private static java.util.Vector<HyperTransform> |
Animation.makeTransform1(Complex thisFrom,
Complex thisTo,
Transformer thisTransformer,
Complex thisOrientation)
Make animation with one transform only |
private static java.util.List<HyperTransform> |
Animation.makeTransforms(Complex thisFrom,
Complex thisTo,
Transformer thisTransformer,
Complex thisOrientation,
int theseSteps)
Make sequence of transforms |
void |
View.moveTo(INode thisNode,
Complex thisDestination)
Translate node to point |
private void |
View.translate(Complex thisStart,
Complex thisEnd)
Translate tree according to vector |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |