![]() |
OGS
|
Creates a copy of a geometry within GEOObjects
Definition at line 27 of file DuplicateGeometry.h.
#include <DuplicateGeometry.h>
Public Member Functions | |
| DuplicateGeometry (GeoLib::GEOObjects &geo_objects, std::string const &input_name, std::string output_name) | |
| std::string const & | getFinalizedOutputName () const |
| std::vector< GeoLib::Point * > & | getPointVectorCopy () |
| std::vector< GeoLib::Polyline * > & | getPolylineVectorCopy () |
| std::vector< GeoLib::Surface * > & | getSurfaceVectorCopy () |
Private Member Functions | |
| void | duplicate (std::string const &input_name) |
| std::vector< GeoLib::Polyline * > | copyPolylinesVector (std::vector< GeoLib::Polyline * > const &polylines) const |
| std::vector< Surface * > | copySurfacesVector (std::vector< Surface * > const &surfaces) const |
Private Attributes | |
| std::string | _output_name |
| GeoLib::GEOObjects & | _geo_objects |
| GeoLib::DuplicateGeometry::DuplicateGeometry | ( | GeoLib::GEOObjects & | geo_objects, |
| std::string const & | input_name, | ||
| std::string | output_name ) |
Creates a copy of a geometry within GEOObjects
| geo_objects | The container for geometries |
| input_name | The geometry to be copied |
| output_name | The name of the copy (note: this might be modified by GEOObjects) |
Definition at line 25 of file DuplicateGeometry.cpp.
References _geo_objects, _output_name, and duplicate().
|
private |
Definition at line 79 of file DuplicateGeometry.cpp.
References _geo_objects, and _output_name.
Referenced by duplicate().
|
private |
Definition at line 102 of file DuplicateGeometry.cpp.
References _geo_objects, _output_name, MathLib::Point3dWithID::getID(), and GeoLib::Triangle::getPoint().
Referenced by duplicate().
|
private |
Definition at line 33 of file DuplicateGeometry.cpp.
References _geo_objects, _output_name, copyPolylinesVector(), copySurfacesVector(), and ERR().
Referenced by DuplicateGeometry().
|
inline |
Definition at line 42 of file DuplicateGeometry.h.
References _output_name.
Referenced by MainWindow::mapGeometry().
| std::vector< GeoLib::Point * > & GeoLib::DuplicateGeometry::getPointVectorCopy | ( | ) |
Definition at line 129 of file DuplicateGeometry.cpp.
References _geo_objects, and _output_name.
| std::vector< GeoLib::Polyline * > & GeoLib::DuplicateGeometry::getPolylineVectorCopy | ( | ) |
Definition at line 135 of file DuplicateGeometry.cpp.
References _geo_objects, and _output_name.
| std::vector< GeoLib::Surface * > & GeoLib::DuplicateGeometry::getSurfaceVectorCopy | ( | ) |
Definition at line 141 of file DuplicateGeometry.cpp.
References _geo_objects, and _output_name.
|
private |
Definition at line 63 of file DuplicateGeometry.h.
Referenced by DuplicateGeometry(), copyPolylinesVector(), copySurfacesVector(), duplicate(), getPointVectorCopy(), getPolylineVectorCopy(), and getSurfaceVectorCopy().
|
private |
Definition at line 62 of file DuplicateGeometry.h.
Referenced by DuplicateGeometry(), copyPolylinesVector(), copySurfacesVector(), duplicate(), getFinalizedOutputName(), getPointVectorCopy(), getPolylineVectorCopy(), and getSurfaceVectorCopy().