本文整理汇总了C++中geos::geom::GeometryFactory::getCoordinateSequenceFactory方法的典型用法代码示例。如果您正苦于以下问题:C++ GeometryFactory::getCoordinateSequenceFactory方法的具体用法?C++ GeometryFactory::getCoordinateSequenceFactory怎么用?C++ GeometryFactory::getCoordinateSequenceFactory使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类geos::geom::GeometryFactory
的用法示例。
在下文中一共展示了GeometryFactory::getCoordinateSequenceFactory方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: multipolygon_outer_ring_start
void multipolygon_outer_ring_start() {
try {
m_coordinate_sequence.reset(m_geos_factory.getCoordinateSequenceFactory()->create(static_cast<size_t>(0), 2));
} catch (geos::util::GEOSException&) {
THROW(osmium::geos_geometry_error());
}
}
示例2: multipolygon_inner_ring_start
void multipolygon_inner_ring_start() {
try {
m_coordinate_sequence.reset(m_geos_factory->getCoordinateSequenceFactory()->create(static_cast<std::size_t>(0), 2));
} catch (const geos::util::GEOSException& e) {
THROW(osmium::geos_geometry_error(e.what()));
}
}
示例3: linestring_start
void linestring_start() {
try {
m_coordinate_sequence.reset(m_geos_factory->getCoordinateSequenceFactory()->create(static_cast<size_t>(0), 2));
} catch (geos::util::GEOSException& e) {
THROW(osmium::geos_geometry_error(e.what()));
}
}