Constructors

Properties

onload: (() => void)

Methods

  • Find the maximum value in am array of numbers.

    Parameters

    • array: number[]

      of number

    Returns number

    the maximum of input array

  • Find the minimum value in am array of numbers.

    Parameters

    • array: number[]

      of number

    Returns number

    the minimum of input array

  • Clip a linestring with start and end measure given by D3 Chart domain.

    Parameters

    • config: LidarprofileConfigService

      the LIDAR profile config instance

    • map_resolution: number

      the current resolution of the map

    • linestring: LineString

      an OpenLayers Linestring

    • dLeft: number

      domain minimum

    • dRight: number

      domain maximum

    Returns ClippedLine

    Object with clipped lined coordinates and left domain value

  • Create a image file by combining SVG and canvas elements and let the user downloads it.

    Parameters

    Returns void

  • Get the data for a CSV export of the profile.

    Parameters

    • points: LidarPoint[]

      A list of lidar profile point objects.

    Returns {
        [key: string]: string | number;
    }[]

    Objects for a csv export (column: value).

  • Get a Level Of Details and with for a given chart span Configuration is set up in Pytree configuration.

    Parameters

    Returns NiceLOD

    Object with optimized Level Of Details and width for this profile span

  • Transform OpenLayers linestring into a cPotree compatible definition.

    Parameters

    • line: LineString

      the profile 2D line

    Returns string

    linestring in a cPotree/pytree compatible string definition