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