public interface Projection2D extends Projection
SCALE
Modifier and Type | Method and Description |
---|---|
String |
estimateTransformString(double margin,
double width,
double height)
Get a SVG transformation string to bring the contents into the unit cube.
|
Pair<DoubleMinMax,DoubleMinMax> |
estimateViewport()
Estimate the viewport requirements
|
double[] |
fastProjectDataToRenderSpace(NumberVector<?,?> data)
Project a data vector from data space to rendering space.
|
double[] |
fastProjectDataToRenderSpace(Vector data)
Project a data vector from data space to rendering space.
|
double[] |
fastProjectRelativeDataToRenderSpace(NumberVector<?,?> data)
Project a data vector from data space to rendering space.
|
double[] |
fastProjectRelativeDataToRenderSpace(Vector data)
Project a data vector from data space to rendering space.
|
double[] |
fastProjectRelativeScaledToRender(Vector v)
Project a vector from scaled space to rendering space.
|
double[] |
fastProjectScaledToRender(Vector v)
Project a vector from scaled space to rendering space.
|
BitSet |
getVisibleDimensions2D()
Get a bit set of dimensions that are visible.
|
getInputDimensionality, getScale, projectDataToRenderSpace, projectDataToRenderSpace, projectDataToScaledSpace, projectDataToScaledSpace, projectRelativeDataToRenderSpace, projectRelativeDataToRenderSpace, projectRelativeDataToScaledSpace, projectRelativeDataToScaledSpace, projectRelativeRenderToDataSpace, projectRelativeRenderToScaled, projectRelativeScaledToDataSpace, projectRelativeScaledToRender, projectRenderToDataSpace, projectRenderToScaled, projectScaledToDataSpace, projectScaledToRender
getHierarchy, setHierarchy
getLongName, getShortName
double[] fastProjectDataToRenderSpace(Vector data)
data
- vector in data spacedouble[] fastProjectDataToRenderSpace(NumberVector<?,?> data)
data
- vector in data spacedouble[] fastProjectScaledToRender(Vector v)
v
- vector in scaled spacedouble[] fastProjectRelativeDataToRenderSpace(Vector data)
data
- vector in data spacedouble[] fastProjectRelativeDataToRenderSpace(NumberVector<?,?> data)
data
- vector in data spacedouble[] fastProjectRelativeScaledToRender(Vector v)
v
- vector in scaled spacePair<DoubleMinMax,DoubleMinMax> estimateViewport()
String estimateTransformString(double margin, double width, double height)
margin
- extra margin to add.width
- Widthheight
- HeightBitSet getVisibleDimensions2D()