Skip to content
Snippets Groups Projects
Commit 96403610 authored by Joseph Boudreau's avatar Joseph Boudreau
Browse files

Merge branch 'persistify-shape' into 'master'

Provide access to boolean shape object operands

See merge request !8
parents 1328541b ff8c17af
Branches
Tags
1 merge request!8Provide access to boolean shape object operands
Pipeline #1597470 passed
......@@ -7,9 +7,18 @@
#include "GeoModelKernel/GeoShape.h"
#ifndef _GeoShapePersistification_On_
class Persistifier;
#endif
class GeoShapeIntersection : public GeoShape
{
public:
// Constructor taking two shape operands.
GeoShapeIntersection (const GeoShape* A, const GeoShape* B);
......@@ -52,7 +61,10 @@ class GeoShapeIntersection : public GeoShape
static const std::string s_classType;
static const ShapeType s_classTypeID;
// For I/O only!
GeoShapeIntersection(){}
friend class Persistifier;
};
inline const std::string& GeoShapeIntersection::getClassType ()
......
......@@ -8,6 +8,12 @@
#include "GeoModelKernel/GeoShape.h"
#include "GeoModelKernel/GeoDefinitions.h"
#ifndef _GeoShapePersistification_On_
class Persistifier;
#endif
class GeoShapeShift : public GeoShape
{
public:
......@@ -53,6 +59,10 @@ class GeoShapeShift : public GeoShape
static const std::string s_classType;
static const ShapeType s_classTypeID;
// For I/O only!
GeoShapeShift(){}
friend class Persistifier;
};
inline const std::string& GeoShapeShift::getClassType ()
......
......@@ -7,6 +7,12 @@
#include "GeoModelKernel/GeoShape.h"
#ifndef _GeoShapePersistification_On_
class Persistifier;
#endif
class GeoShapeSubtraction : public GeoShape
{
public:
......@@ -52,6 +58,10 @@ class GeoShapeSubtraction : public GeoShape
static const std::string s_classType;
static const ShapeType s_classTypeID;
// For I/O only!
GeoShapeSubtraction(){}
friend class Persistifier;
};
inline const std::string& GeoShapeSubtraction::getClassType ()
......
......@@ -7,6 +7,10 @@
#include "GeoModelKernel/GeoShape.h"
#ifndef _GeoShapePersistification_On_
class Persistifier;
#endif
class GeoShapeUnion : public GeoShape
{
public:
......@@ -52,6 +56,10 @@ class GeoShapeUnion : public GeoShape
static const std::string s_classType;
static const ShapeType s_classTypeID;
// For I/O only!
GeoShapeUnion(){}
friend Persistifier;
};
inline const std::string& GeoShapeUnion::getClassType ()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment