#include <LineToPolygonMemory.h>
Public Member Functions | |
LineToPolygonMemory () | |
virtual bool | paramsAreValid () |
bool | run () throw (te::common::Exception) |
void | setInput (te::da::DataSourcePtr inDsrc, std::string inDsetName, const te::da::ObjectIdSet *oidSet=0) |
void | setOutput (te::da::DataSourcePtr outDsrc, std::string dsname) |
~LineToPolygonMemory () | |
Protected Member Functions | |
std::auto_ptr < te::da::DataSetType > | buildOutDataSetType () |
te::gm::GeomType | getGeomResultType (te::gm::GeomType geom) |
Protected Attributes | |
std::string | m_inDsetName |
te::da::DataSourcePtr | m_inDsrc |
const te::da::ObjectIdSet * | m_oidSet |
std::string | m_outDset |
te::da::DataSourcePtr | m_outDsrc |
Private Member Functions | |
void | getPolygons (te::gm::Geometry *geom, std::vector< te::gm::Polygon * > &polygons) |
void | getPolygons (te::gm::GeometryCollection *gc, std::vector< te::gm::Polygon * > &polygons) |
void | getPolygons (te::gm::LineString *l, std::vector< te::gm::Polygon * > &polygons) |
void | getPolygons (te::gm::Polygon *p, std::vector< te::gm::Polygon * > &polygons) |
std::auto_ptr < te::gm::MultiPolygon > | line2Polygon (te::gm::Geometry *geom) |
Definition at line 51 of file LineToPolygonMemory.h.
te::vp::LineToPolygonMemory::LineToPolygonMemory | ( | ) |
Definition at line 47 of file LineToPolygonMemory.cpp.
te::vp::LineToPolygonMemory::~LineToPolygonMemory | ( | ) |
Definition at line 50 of file LineToPolygonMemory.cpp.
|
protectedinherited |
Definition at line 70 of file LineToPolygonOp.cpp.
References te::da::PrimaryKey::add(), te::dt::GEOMETRY_TYPE, te::dt::Property::getName(), te::gm::GeometryProperty::getSRID(), te::gm::MultiPolygonType, te::gm::GeometryProperty::setGeometryType(), and te::gm::GeometryProperty::setSRID().
|
protectedinherited |
Definition at line 136 of file LineToPolygonOp.cpp.
References te::gm::LineStringType, te::gm::MultiLineStringType, te::gm::MultiPointType, te::gm::MultiPolygonType, te::gm::PointType, and te::gm::PolygonType.
|
private |
Definition at line 137 of file LineToPolygonMemory.cpp.
References te::gm::Geometry::getGeomTypeId(), te::gm::LineStringType, and te::gm::MultiLineStringType.
|
private |
Definition at line 157 of file LineToPolygonMemory.cpp.
References te::gm::GeometryCollection::getGeometryN(), and te::gm::GeometryCollection::getNumGeometries().
|
private |
Definition at line 165 of file LineToPolygonMemory.cpp.
References te::gm::CurvePolygon::add(), te::gm::LineString::getNPoints(), te::gm::Geometry::getSRID(), te::gm::LineString::getX(), te::gm::LineString::getY(), te::gm::LineString::isClosed(), te::gm::LineStringType, te::gm::PolygonType, and te::gm::LineString::setPoint().
|
private |
Definition at line 184 of file LineToPolygonMemory.cpp.
|
private |
Definition at line 117 of file LineToPolygonMemory.cpp.
References te::gm::Geometry::getSRID(), and te::gm::MultiPolygonType.
|
virtualinherited |
Definition at line 41 of file LineToPolygonOp.cpp.
Referenced by te::vp::LineToPolygonDialog::onOkPushButtonClicked().
|
virtual |
Implements te::vp::LineToPolygonOp.
Definition at line 53 of file LineToPolygonMemory.cpp.
References te::dt::GEOMETRY_TYPE, te::da::GetFirstGeomProperty(), te::dt::Property::getName(), te::mem::DataSetItem::getNumProperties(), te::mem::DataSetItem::getPropertyDataType(), te::mem::DataSetItem::getPropertyName(), te::common::TaskProgress::isActive(), te::common::TaskProgress::pulse(), te::vp::Save(), te::mem::DataSetItem::setGeometry(), te::common::TaskProgress::setTotalSteps(), te::mem::DataSetItem::setValue(), TE_TR, and te::common::TaskProgress::useTimer().
|
inherited |
Definition at line 55 of file LineToPolygonOp.cpp.
Referenced by te::vp::LineToPolygonDialog::onOkPushButtonClicked().
|
inherited |
Definition at line 64 of file LineToPolygonOp.cpp.
Referenced by te::vp::LineToPolygonDialog::onOkPushButtonClicked().
|
protectedinherited |
Definition at line 71 of file LineToPolygonOp.h.
|
protectedinherited |
Definition at line 70 of file LineToPolygonOp.h.
|
protectedinherited |
Definition at line 72 of file LineToPolygonOp.h.
|
protectedinherited |
Definition at line 75 of file LineToPolygonOp.h.
|
protectedinherited |
Definition at line 74 of file LineToPolygonOp.h.