public class SVGHyperSphere extends Object
Modifier and Type | Field and Description |
---|---|
static double |
EUCLIDEAN_KAPPA
Factor used for approximating circles with cubic beziers.
|
Constructor and Description |
---|
SVGHyperSphere() |
Modifier and Type | Method and Description |
---|---|
static <D extends NumberDistance<?,?>> |
drawCross(SVGPlot svgp,
Projection2D proj,
NumberVector<?> mid,
D rad)
Wireframe "cross" hypersphere
|
static Element |
drawEuclidean(SVGPlot svgp,
Projection2D proj,
NumberVector<?> mid,
double radius)
Wireframe "euclidean" hypersphere
|
static Element |
drawLp(SVGPlot svgp,
Projection2D proj,
NumberVector<?> mid,
double radius,
double p)
Wireframe "Lp" hypersphere
|
static Element |
drawManhattan(SVGPlot svgp,
Projection2D proj,
NumberVector<?> mid,
double radius)
Wireframe "manhattan" hypersphere
|
public static final double EUCLIDEAN_KAPPA
public static Element drawManhattan(SVGPlot svgp, Projection2D proj, NumberVector<?> mid, double radius)
svgp
- SVG Plotproj
- Visualization projectionmid
- mean vectorradius
- radiuspublic static Element drawEuclidean(SVGPlot svgp, Projection2D proj, NumberVector<?> mid, double radius)
svgp
- SVG Plotproj
- Visualization projectionmid
- mean vectorradius
- radiuspublic static Element drawLp(SVGPlot svgp, Projection2D proj, NumberVector<?> mid, double radius, double p)
svgp
- SVG Plotproj
- Visualization projectionmid
- mean vectorradius
- radiusp
- L_p valuepublic static <D extends NumberDistance<?,?>> Element drawCross(SVGPlot svgp, Projection2D proj, NumberVector<?> mid, D rad)
D
- radiussvgp
- SVG Plotproj
- Visualization projectionmid
- mean vectorrad
- radius