#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, std::auto_ptr< te::da::DataSetTypeConverter > converter, 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::auto_ptr< te::da::DataSetTypeConverter > | m_converter |
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 48 of file LineToPolygonMemory.cpp.
te::vp::LineToPolygonMemory::~LineToPolygonMemory | ( | ) |
Definition at line 51 of file LineToPolygonMemory.cpp.
|
protectedinherited |
Definition at line 74 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 140 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 141 of file LineToPolygonMemory.cpp.
References te::gm::Geometry::getGeomTypeId(), te::gm::LineStringType, and te::gm::MultiLineStringType.
|
private |
Definition at line 161 of file LineToPolygonMemory.cpp.
References te::gm::GeometryCollection::getGeometryN(), and te::gm::GeometryCollection::getNumGeometries().
|
private |
Definition at line 169 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 188 of file LineToPolygonMemory.cpp.
|
private |
Definition at line 121 of file LineToPolygonMemory.cpp.
References te::gm::Geometry::getSRID(), and te::gm::MultiPolygonType.
|
virtualinherited |
Definition at line 43 of file LineToPolygonOp.cpp.
Referenced by te::vp::LineToPolygonDialog::onOkPushButtonClicked().
|
virtual |
Implements te::vp::LineToPolygonOp.
Definition at line 54 of file LineToPolygonMemory.cpp.
References te::da::CreateAdapter(), te::dt::GEOMETRY_TYPE, te::da::GetFirstGeomProperty(), te::dt::Property::getName(), te::mem::DataSetItem::getNumProperties(), te::mem::DataSetItem::getPropertyDataType(), te::mem::DataSetItem::getPropertyName(), te::da::GetPropertyPos(), 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 57 of file LineToPolygonOp.cpp.
Referenced by te::vp::LineToPolygonDialog::onOkPushButtonClicked().
|
inherited |
Definition at line 68 of file LineToPolygonOp.cpp.
Referenced by te::vp::LineToPolygonDialog::onOkPushButtonClicked().
|
protectedinherited |
Definition at line 74 of file LineToPolygonOp.h.
|
protectedinherited |
Definition at line 73 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 78 of file LineToPolygonOp.h.
|
protectedinherited |
Definition at line 77 of file LineToPolygonOp.h.