mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Add operations on polygon : Duplicate, exportCsv, exportPol and simplify
SimplfyPolygon applies an operation on polygon to reduce the number of points in a way that the shape of the polygon is conserved.
This commit is contained in:
@@ -21,6 +21,8 @@
|
||||
class RimPolygon;
|
||||
class RimPolygonInView;
|
||||
|
||||
class QString;
|
||||
|
||||
namespace caf
|
||||
{
|
||||
class PdmObject;
|
||||
@@ -29,7 +31,12 @@ class PdmObject;
|
||||
class RimPolygonTools
|
||||
{
|
||||
public:
|
||||
static void selectAndActivatePolygonInView( RimPolygon* polygon, caf::PdmObject* sourceObject );
|
||||
static void activate3dEditOfPolygonInView( RimPolygon* polygon, caf::PdmObject* sourceObject );
|
||||
static void selectPolygonInView( RimPolygon* polygon, caf::PdmObject* sourceObject );
|
||||
static bool exportPolygonCsv( const RimPolygon* polygon, const QString& filePath );
|
||||
static bool exportPolygonPol( const RimPolygon* polygon, const QString& filePath );
|
||||
|
||||
static QString polygonCacheName();
|
||||
|
||||
private:
|
||||
static RimPolygonInView* findPolygonInView( RimPolygon* polygon, caf::PdmObject* sourceObject );
|
||||
|
||||
Reference in New Issue
Block a user