libcuspatial  23.12.00
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Protected Attributes | Friends | List of all members
cuspatial::test::multipolygon_array< GeometryArray, PartArray, RingArray, CoordinateArray > Class Template Reference

Owning object of a multipolygon array following geoarrow layout. More...

Public Types

using geometry_t = typename GeometryArray::value_type
 
using part_t = typename PartArray::value_type
 
using ring_t = typename RingArray::value_type
 
using coord_t = typename CoordinateArray::value_type
 

Public Member Functions

 multipolygon_array (thrust::device_vector< geometry_t > geometry_offsets_array, thrust::device_vector< part_t > part_offsets_array, thrust::device_vector< ring_t > ring_offsets_array, thrust::device_vector< coord_t > coordinates_array)
 
 multipolygon_array (rmm::device_vector< geometry_t > &&geometry_offsets_array, rmm::device_vector< part_t > &&part_offsets_array, rmm::device_vector< ring_t > &&ring_offsets_array, rmm::device_vector< coord_t > &&coordinates_array)
 
 multipolygon_array (rmm::device_uvector< geometry_t > &&geometry_offsets_array, rmm::device_uvector< part_t > &&part_offsets_array, rmm::device_uvector< ring_t > &&ring_offsets_array, rmm::device_uvector< coord_t > &&coordinates_array)
 
auto size ()
 Return the number of multipolygons.
 
auto range ()
 Return range object of the multipolygon array.
 
auto to_host () const
 Copy the offset arrays to host.
 
auto release ()
 

Protected Attributes

GeometryArray _geometry_offsets_array
 
PartArray _part_offsets_array
 
RingArray _ring_offsets_array
 
CoordinateArray _coordinates_array
 

Friends

std::ostream & operator<< (std::ostream &os, multipolygon_array< GeometryArray, PartArray, RingArray, CoordinateArray > const &arr)
 Output stream operator for multipolygon_array for human-readable formatting.
 

Detailed Description

template<typename GeometryArray, typename PartArray, typename RingArray, typename CoordinateArray>
class cuspatial::test::multipolygon_array< GeometryArray, PartArray, RingArray, CoordinateArray >

Owning object of a multipolygon array following geoarrow layout.

Template Parameters
GeometryArrayArray type of geometry offset array
PartArrayArray type of part offset array
RingArrayArray type of ring offset array
CoordinateArrayArray type of coordinate array

Definition at line 86 of file vector_factories.cuh.

Member Typedef Documentation

◆ coord_t

template<typename GeometryArray , typename PartArray , typename RingArray , typename CoordinateArray >
using cuspatial::test::multipolygon_array< GeometryArray, PartArray, RingArray, CoordinateArray >::coord_t = typename CoordinateArray::value_type

Definition at line 91 of file vector_factories.cuh.

◆ geometry_t

template<typename GeometryArray , typename PartArray , typename RingArray , typename CoordinateArray >
using cuspatial::test::multipolygon_array< GeometryArray, PartArray, RingArray, CoordinateArray >::geometry_t = typename GeometryArray::value_type

Definition at line 88 of file vector_factories.cuh.

◆ part_t

template<typename GeometryArray , typename PartArray , typename RingArray , typename CoordinateArray >
using cuspatial::test::multipolygon_array< GeometryArray, PartArray, RingArray, CoordinateArray >::part_t = typename PartArray::value_type

Definition at line 89 of file vector_factories.cuh.

◆ ring_t

template<typename GeometryArray , typename PartArray , typename RingArray , typename CoordinateArray >
using cuspatial::test::multipolygon_array< GeometryArray, PartArray, RingArray, CoordinateArray >::ring_t = typename RingArray::value_type

Definition at line 90 of file vector_factories.cuh.

Constructor & Destructor Documentation

◆ multipolygon_array() [1/3]

template<typename GeometryArray , typename PartArray , typename RingArray , typename CoordinateArray >
cuspatial::test::multipolygon_array< GeometryArray, PartArray, RingArray, CoordinateArray >::multipolygon_array ( thrust::device_vector< geometry_t >  geometry_offsets_array,
thrust::device_vector< part_t >  part_offsets_array,
thrust::device_vector< ring_t >  ring_offsets_array,
thrust::device_vector< coord_t >  coordinates_array 
)
inline

Definition at line 93 of file vector_factories.cuh.

◆ multipolygon_array() [2/3]

template<typename GeometryArray , typename PartArray , typename RingArray , typename CoordinateArray >
cuspatial::test::multipolygon_array< GeometryArray, PartArray, RingArray, CoordinateArray >::multipolygon_array ( rmm::device_vector< geometry_t > &&  geometry_offsets_array,
rmm::device_vector< part_t > &&  part_offsets_array,
rmm::device_vector< ring_t > &&  ring_offsets_array,
rmm::device_vector< coord_t > &&  coordinates_array 
)
inline

Definition at line 104 of file vector_factories.cuh.

◆ multipolygon_array() [3/3]

template<typename GeometryArray , typename PartArray , typename RingArray , typename CoordinateArray >
cuspatial::test::multipolygon_array< GeometryArray, PartArray, RingArray, CoordinateArray >::multipolygon_array ( rmm::device_uvector< geometry_t > &&  geometry_offsets_array,
rmm::device_uvector< part_t > &&  part_offsets_array,
rmm::device_uvector< ring_t > &&  ring_offsets_array,
rmm::device_uvector< coord_t > &&  coordinates_array 
)
inline

Definition at line 115 of file vector_factories.cuh.

Member Function Documentation

◆ range()

template<typename GeometryArray , typename PartArray , typename RingArray , typename CoordinateArray >
auto cuspatial::test::multipolygon_array< GeometryArray, PartArray, RingArray, CoordinateArray >::range ( )
inline

Return range object of the multipolygon array.

Definition at line 130 of file vector_factories.cuh.

◆ release()

template<typename GeometryArray , typename PartArray , typename RingArray , typename CoordinateArray >
auto cuspatial::test::multipolygon_array< GeometryArray, PartArray, RingArray, CoordinateArray >::release ( )
inline

Definition at line 155 of file vector_factories.cuh.

◆ size()

template<typename GeometryArray , typename PartArray , typename RingArray , typename CoordinateArray >
auto cuspatial::test::multipolygon_array< GeometryArray, PartArray, RingArray, CoordinateArray >::size ( )
inline

Return the number of multipolygons.

Definition at line 127 of file vector_factories.cuh.

◆ to_host()

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

Copy the offset arrays to host.

Definition at line 145 of file vector_factories.cuh.

Friends And Related Symbol Documentation

◆ operator<<

template<typename GeometryArray , typename PartArray , typename RingArray , typename CoordinateArray >
std::ostream & operator<< ( std::ostream &  os,
multipolygon_array< GeometryArray, PartArray, RingArray, CoordinateArray > const &  arr 
)
friend

Output stream operator for multipolygon_array for human-readable formatting.

Definition at line 166 of file vector_factories.cuh.

Member Data Documentation

◆ _coordinates_array

template<typename GeometryArray , typename PartArray , typename RingArray , typename CoordinateArray >
CoordinateArray cuspatial::test::multipolygon_array< GeometryArray, PartArray, RingArray, CoordinateArray >::_coordinates_array
protected

Definition at line 182 of file vector_factories.cuh.

◆ _geometry_offsets_array

template<typename GeometryArray , typename PartArray , typename RingArray , typename CoordinateArray >
GeometryArray cuspatial::test::multipolygon_array< GeometryArray, PartArray, RingArray, CoordinateArray >::_geometry_offsets_array
protected

Definition at line 179 of file vector_factories.cuh.

◆ _part_offsets_array

template<typename GeometryArray , typename PartArray , typename RingArray , typename CoordinateArray >
PartArray cuspatial::test::multipolygon_array< GeometryArray, PartArray, RingArray, CoordinateArray >::_part_offsets_array
protected

Definition at line 180 of file vector_factories.cuh.

◆ _ring_offsets_array

template<typename GeometryArray , typename PartArray , typename RingArray , typename CoordinateArray >
RingArray cuspatial::test::multipolygon_array< GeometryArray, PartArray, RingArray, CoordinateArray >::_ring_offsets_array
protected

Definition at line 181 of file vector_factories.cuh.


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