|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.lmu.ifi.dbs.elki.visualization.svg.SVGHyperSphere
public class SVGHyperSphere
Utility class to draw hypercubes, wireframe and filled.
Field Summary | |
---|---|
static double |
EUCLIDEAN_KAPPA
Factor used for approximating circles with cubic beziers. |
Constructor Summary | |
---|---|
SVGHyperSphere()
|
Method Summary | ||
---|---|---|
static
|
drawCross(SVGPlot svgp,
Projection2D proj,
V mid,
D rad)
Wireframe "cross" hypersphere |
|
static
|
drawEuclidean(SVGPlot svgp,
Projection2D proj,
V mid,
D rad)
Wireframe "euclidean" hypersphere |
|
static
|
drawLp(SVGPlot svgp,
Projection2D proj,
V mid,
D rad,
double p)
Wireframe "Lp" hypersphere |
|
static
|
drawManhattan(SVGPlot svgp,
Projection2D proj,
V mid,
D rad)
Wireframe "manhattan" hypersphere |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final double EUCLIDEAN_KAPPA
Constructor Detail |
---|
public SVGHyperSphere()
Method Detail |
---|
public static <V extends NumberVector<V,?>,D extends NumberDistance<?,?>> Element drawManhattan(SVGPlot svgp, Projection2D proj, V mid, D rad)
V
- vector typeD
- radiussvgp
- SVG Plotproj
- Visualization projectionmid
- mean vectorrad
- radius
public static <V extends NumberVector<V,?>,D extends NumberDistance<?,?>> Element drawEuclidean(SVGPlot svgp, Projection2D proj, V mid, D rad)
V
- vector typeD
- radiussvgp
- SVG Plotproj
- Visualization projectionmid
- mean vectorrad
- radius
public static <V extends NumberVector<V,?>,D extends NumberDistance<?,?>> Element drawLp(SVGPlot svgp, Projection2D proj, V mid, D rad, double p)
V
- vector typeD
- radiussvgp
- SVG Plotproj
- Visualization projectionmid
- mean vectorrad
- radiusp
- L_p value
public static <V extends NumberVector<V,?>,D extends NumberDistance<?,?>> Element drawCross(SVGPlot svgp, Projection2D proj, V mid, D rad)
V
- vector typeD
- radiussvgp
- SVG Plotproj
- Visualization projectionmid
- mean vectorrad
- radius
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |