RAPIDS
    Preparing search index...

    Type Parameters

    Index

    Properties

    maxDepth: number
    minSize: number
    scale: number
    xMax: number
    xMin: number
    yMax: number
    yMin: number

    Accessors

    Methods

    • Type Parameters

      Parameters

      • polygons: R

        Series of Polygons to test.

      • OptionalmemoryResource: MemoryResource

        Optional resource used to allocate the output device memory.

      Returns DataFrame<{ point_index: Uint32; polygon_index: Uint32 }>

      DataFrame Indices for each intersecting point and polygon pair.

    • Type Parameters

      Parameters

      • polylines: R

        Series of Polylines to test.

      • expansionRadius: number = 1

        Radius of each polyline point.

      • OptionalmemoryResource: MemoryResource

        Optional resource used to allocate the output device memory.

      Returns DataFrame<{ distance: T; point_index: Uint32; polyline_index: Uint32 }>

      DataFrame Indices for each point/nearest polyline pair, and distance between them.

    • Parameters

      • boundingBoxes: BoundingBoxes<T>

        Minimum bounding boxes for a set of polygons or polylines.

      • OptionalmemoryResource: MemoryResource

        Optional resource used to allocate the output device memory.

      Returns DataFrame<{ poly_offset: Uint32; quad_offset: Uint32 }>

      DataFrame Indices for each intersecting bounding box and leaf quadrant.

    • Type Parameters

      Parameters

      • options: {
            maxDepth: number;
            memoryResource?: MemoryResource;
            minSize: number;
            scale: number;
            x: T;
            xMax: number;
            xMin: number;
            y: T;
            yMax: number;
            yMin: number;
        }

        Object of quadtree options

        • maxDepth: number

          Maximum quadtree depth in range [0, 15)

        • OptionalmemoryResource?: MemoryResource

          Optional resource to use for output device memory allocations.

        • minSize: number

          Minimum number of points for a non-leaf quadtree node

        • scale: number

          Scale to apply to each point's distance from (x_min, y_min)

        • x: T

          Column of x-coordinates for each point

        • xMax: number

          The upper-right x-coordinate of the area of interest bounding box

        • xMin: number

          The lower-left x-coordinate of the area of interest bounding box

        • y: T

          Column of y-coordinates for each point

        • yMax: number

          The upper-right y-coordinate of the area of interest bounding box

        • yMin: number

          The lower-left y-coordinate of the area of interest bounding box

      Returns Quadtree<T["type"]>

      Quadtree

      Swaps xMin and xMax`` if xMin > xMax@note SwapsyMinandyMax`` if yMin > yMax