Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
cuspatial::test::multipoint_array< GeometryArray, CoordinateArray > Class Template Reference

Owning object of a multipoint array following geoarrow format. More...

Public Types

using geometry_t = typename GeometryArray::value_type
 
using coord_t = typename CoordinateArray::value_type
 

Public Member Functions

 multipoint_array (thrust::device_vector< geometry_t > geometry_offsets_array, thrust::device_vector< coord_t > coordinate_array)
 
 multipoint_array (rmm::device_uvector< geometry_t > &&geometry_offsets_array, rmm::device_uvector< coord_t > &&coordinate_array)
 
auto size ()
 Return the number of multipoints.
 
auto range ()
 Return range object of the multipoint array.
 
auto to_host () const
 Copy the offset arrays to host.
 
auto release ()
 Release ownership.
 

Detailed Description

template<typename GeometryArray, typename CoordinateArray>
class cuspatial::test::multipoint_array< GeometryArray, CoordinateArray >

Owning object of a multipoint array following geoarrow format.

Template Parameters
GeometryArrayArray type of geometry offsets
CoordinateArrayArray type of coordinates

Definition at line 354 of file vector_factories.cuh.

Member Typedef Documentation

◆ coord_t

template<typename GeometryArray , typename CoordinateArray >
using cuspatial::test::multipoint_array< GeometryArray, CoordinateArray >::coord_t = typename CoordinateArray::value_type

Definition at line 357 of file vector_factories.cuh.

◆ geometry_t

template<typename GeometryArray , typename CoordinateArray >
using cuspatial::test::multipoint_array< GeometryArray, CoordinateArray >::geometry_t = typename GeometryArray::value_type

Definition at line 356 of file vector_factories.cuh.

Constructor & Destructor Documentation

◆ multipoint_array() [1/2]

template<typename GeometryArray , typename CoordinateArray >
cuspatial::test::multipoint_array< GeometryArray, CoordinateArray >::multipoint_array ( thrust::device_vector< geometry_t > geometry_offsets_array,
thrust::device_vector< coord_t > coordinate_array )
inline

Definition at line 359 of file vector_factories.cuh.

◆ multipoint_array() [2/2]

template<typename GeometryArray , typename CoordinateArray >
cuspatial::test::multipoint_array< GeometryArray, CoordinateArray >::multipoint_array ( rmm::device_uvector< geometry_t > && geometry_offsets_array,
rmm::device_uvector< coord_t > && coordinate_array )
inline

Definition at line 365 of file vector_factories.cuh.

Member Function Documentation

◆ range()

template<typename GeometryArray , typename CoordinateArray >
auto cuspatial::test::multipoint_array< GeometryArray, CoordinateArray >::range ( )
inline

Return range object of the multipoint array.

Definition at line 376 of file vector_factories.cuh.

◆ release()

template<typename GeometryArray , typename CoordinateArray >
auto cuspatial::test::multipoint_array< GeometryArray, CoordinateArray >::release ( )
inline

Release ownership.

Definition at line 394 of file vector_factories.cuh.

◆ size()

template<typename GeometryArray , typename CoordinateArray >
auto cuspatial::test::multipoint_array< GeometryArray, CoordinateArray >::size ( )
inline

Return the number of multipoints.

Definition at line 373 of file vector_factories.cuh.

◆ to_host()

template<typename GeometryArray , typename CoordinateArray >
auto cuspatial::test::multipoint_array< GeometryArray, CoordinateArray >::to_host ( ) const
inline

Copy the offset arrays to host.

Definition at line 385 of file vector_factories.cuh.


The documentation for this class was generated from the following file: