Interface FullProjection

  • All Superinterfaces:
    Projection, VisualizationItem
    All Known Implementing Classes:
    AbstractFullProjection, AbstractSimpleProjection, AffineProjection, Simple1D, Simple2D

    public interface FullProjection
    extends Projection
    Full vector space projections. These rather portable projections offer a large choice of functions, at the cost of often being a bit slower than the low level functions. Note: this interface and methods may be removed, unless there is a clear use case for them as opposed to always using the low-level fast projections.
    Since:
    0.4.0
    Author:
    Erich Schubert
    • Method Detail

      • projectScaledToRender

        double[] projectScaledToRender​(double[] v)
        Project a vector from scaled space to rendering space.
        Parameters:
        v - vector in scaled space
        Returns:
        vector in rendering space
      • projectRenderToScaled

        double[] projectRenderToScaled​(double[] v)
        Project a vector from rendering space to scaled space.
        Parameters:
        v - vector in rendering space
        Returns:
        vector in scaled space
      • projectRelativeScaledToRender

        double[] projectRelativeScaledToRender​(double[] v)
        Project a relative vector from scaled space to rendering space.
        Parameters:
        v - relative vector in scaled space
        Returns:
        relative vector in rendering space
      • projectRelativeRenderToScaled

        double[] projectRelativeRenderToScaled​(double[] v)
        Project a relative vector from rendering space to scaled space.
        Parameters:
        v - relative vector in rendering space
        Returns:
        relative vector in scaled space
      • projectDataToScaledSpace

        double[] projectDataToScaledSpace​(NumberVector data)
        Project a data vector from data space to scaled space.
        Parameters:
        data - vector in data space
        Returns:
        vector in scaled space
      • projectDataToScaledSpace

        double[] projectDataToScaledSpace​(double[] data)
        Project a data vector from data space to scaled space.
        Parameters:
        data - vector in data space
        Returns:
        vector in scaled space
      • projectRelativeDataToScaledSpace

        double[] projectRelativeDataToScaledSpace​(NumberVector data)
        Project a relative data vector from data space to scaled space.
        Parameters:
        data - relative vector in data space
        Returns:
        relative vector in scaled space
      • projectRelativeDataToScaledSpace

        double[] projectRelativeDataToScaledSpace​(double[] data)
        Project a relative data vector from data space to scaled space.
        Parameters:
        data - relative vector in data space
        Returns:
        relative vector in scaled space
      • projectDataToRenderSpace

        double[] projectDataToRenderSpace​(NumberVector data)
        Project a data vector from data space to rendering space.
        Parameters:
        data - vector in data space
        Returns:
        vector in rendering space
      • projectDataToRenderSpace

        double[] projectDataToRenderSpace​(double[] data)
        Project a data vector from data space to rendering space.
        Parameters:
        data - vector in data space
        Returns:
        vector in rendering space
      • projectScaledToDataSpace

        <NV extends NumberVector> NV projectScaledToDataSpace​(double[] v,
                                                              NumberVector.Factory<NV> factory)
        Project a vector from scaled space to data space.
        Type Parameters:
        NV - double[] type
        Parameters:
        v - vector in scaled space
        factory - Object factory
        Returns:
        vector in data space
      • projectRenderToDataSpace

        <NV extends NumberVector> NV projectRenderToDataSpace​(double[] v,
                                                              NumberVector.Factory<NV> prototype)
        Project a vector from rendering space to data space.
        Type Parameters:
        NV - double[] type
        Parameters:
        v - vector in rendering space
        prototype - Object factory
        Returns:
        vector in data space
      • projectRelativeDataToRenderSpace

        double[] projectRelativeDataToRenderSpace​(NumberVector data)
        Project a relative data vector from data space to rendering space.
        Parameters:
        data - relative vector in data space
        Returns:
        relative vector in rendering space
      • projectRelativeDataToRenderSpace

        double[] projectRelativeDataToRenderSpace​(double[] data)
        Project a relative data vector from data space to rendering space.
        Parameters:
        data - relative vector in data space
        Returns:
        relative vector in rendering space
      • projectRelativeScaledToDataSpace

        <NV extends NumberVector> NV projectRelativeScaledToDataSpace​(double[] v,
                                                                      NumberVector.Factory<NV> prototype)
        Project a relative vector from scaled space to data space.
        Type Parameters:
        NV - double[] type
        Parameters:
        v - relative vector in scaled space
        prototype - Object factory
        Returns:
        relative vector in data space
      • projectRelativeRenderToDataSpace

        <NV extends NumberVector> NV projectRelativeRenderToDataSpace​(double[] v,
                                                                      NumberVector.Factory<NV> prototype)
        Project a relative vector from rendering space to data space.
        Type Parameters:
        NV - double[] type
        Parameters:
        v - relative vector in rendering space
        prototype - Object factory
        Returns:
        relative vector in data space