test_linestring_data() : pm_(1000) , factory_(geos::geom::GeometryFactory::create(&pm_, 0)) , reader_(factory_.get()) , empty_line_(factory_->createLineString(new geos::geom::CoordinateArraySequence())) { assert(nullptr != empty_line_); }
test_length_data(): geom_(nullptr), pm_(1), factory_(GeometryFactory::create(&pm_, 0)), reader_(factory_.get()) { assert(nullptr == geom_); }
~test_preparedgeometrytouches_data() { prep::PreparedGeometryFactory::destroy(pg1); prep::PreparedGeometryFactory::destroy(pg2); factory->destroyGeometry(g1); factory->destroyGeometry(g2); }
test_preparedgeometrytouches_data() : factory(GeometryFactory::create()) , reader(factory.get()) , g1(nullptr) , g2(nullptr) , pg1(nullptr) , pg2(nullptr) {}
test_geometryfilter_data() : gf(geos::geom::GeometryFactory::create()) , reader(gf.get()) { }
~test_length_data() { factory_->destroyGeometry(geom_); geom_ = nullptr; }
~test_linestring_data() { factory_->destroyGeometry(empty_line_); empty_line_ = nullptr; }