|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttreebolic.core.EuclidianLocation
public class EuclidianLocation
Unit Circle mapping
Field Summary | |
---|---|
Complex |
center
Center in (Euclidian space) unit circle |
double |
radius
Radius in (Euclidian space) unit circle |
Constructor Summary | |
---|---|
EuclidianLocation()
Construct location in euclidian |
Method Summary | |
---|---|
static double |
getDistance(Complex z1,
Complex z2)
Get Euclidian distance |
static double |
getDistanceSquare(Complex z1,
Complex z2)
Get squared Euclidian distance |
void |
set(HyperLocation thisHyperLocation)
Map hyperspace to unit circle |
private static double |
square(double x)
Square (fast compute) |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public final Complex center
public double radius
Constructor Detail |
---|
public EuclidianLocation()
Method Detail |
---|
public void set(HyperLocation thisHyperLocation)
public static double getDistance(Complex z1, Complex z2)
z1
- pointz2
- point
public static double getDistanceSquare(Complex z1, Complex z2)
z1
- pointz2
- point
private static double square(double x)
x
- input
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |