Interface Projection2D

    • Method Detail

      • fastProjectDataToRenderSpace

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

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

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

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

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

        double[] fastProjectRenderToDataSpace​(double x,
                                              double y)
        Project a data vector from rendering space to data space.
        Parameters:
        x - X coordinate
        y - Y coordinate
        Returns:
        vector in data space
      • fastProjectRenderToScaledSpace

        double[] fastProjectRenderToScaledSpace​(double x,
                                                double y)
        Project a vector from rendering space to scaled space.
        Parameters:
        x - X coordinate
        y - Y coordinate
        Returns:
        vector in scaled space
      • fastProjectRelativeDataToRenderSpace

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

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

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

        CanvasSize estimateViewport()
        Estimate the viewport requirements
        Returns:
        Canvas size obtained from projecting scale endpoints
      • getVisibleDimensions2D

        long[] getVisibleDimensions2D()
        Get a bit set of dimensions that are visible.
        Returns:
        Bit set, first dimension is bit 0.