OmniSciDB  04ee39c94c
GeoPolyTargetValue Struct Reference

#include <TargetValue.h>

Public Member Functions

 GeoPolyTargetValue (const std::vector< double > &coords, const std::vector< int32_t > &ring_sizes)
 

Public Attributes

std::shared_ptr< std::vector< double > > coords
 
std::shared_ptr< std::vector< int32_t > > ring_sizes
 

Detailed Description

Definition at line 113 of file TargetValue.h.

Constructor & Destructor Documentation

◆ GeoPolyTargetValue()

GeoPolyTargetValue::GeoPolyTargetValue ( const std::vector< double > &  coords,
const std::vector< int32_t > &  ring_sizes 
)
inline

Definition at line 117 of file TargetValue.h.

119  : coords(std::make_shared<std::vector<double>>(coords))
120  , ring_sizes(std::make_shared<std::vector<int32_t>>(ring_sizes)) {}
std::shared_ptr< std::vector< int32_t > > ring_sizes
Definition: TargetValue.h:115
std::shared_ptr< std::vector< double > > coords
Definition: TargetValue.h:114

Member Data Documentation

◆ coords

std::shared_ptr<std::vector<double> > GeoPolyTargetValue::coords

Definition at line 114 of file TargetValue.h.

Referenced by TestHelpers::GeoTargetComparator::compare().

◆ ring_sizes

std::shared_ptr<std::vector<int32_t> > GeoPolyTargetValue::ring_sizes

Definition at line 115 of file TargetValue.h.

Referenced by TestHelpers::GeoTargetComparator::compare().


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