Пример #1
0
		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_);
        }
Пример #2
0
 test_length_data():
     geom_(nullptr),
     pm_(1),
     factory_(GeometryFactory::create(&pm_, 0)), reader_(factory_.get())
 {
     assert(nullptr == geom_);
 }
Пример #3
0
 ~test_preparedgeometrytouches_data()
 {
     prep::PreparedGeometryFactory::destroy(pg1);
     prep::PreparedGeometryFactory::destroy(pg2);
     factory->destroyGeometry(g1);
     factory->destroyGeometry(g2);
 }
Пример #4
0
 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())
 {
 }
Пример #6
0
 ~test_length_data()
 {
     factory_->destroyGeometry(geom_);
     geom_ = nullptr;
 }
Пример #7
0
 ~test_linestring_data()
 {
     factory_->destroyGeometry(empty_line_);
     empty_line_ = nullptr;
 }