#include "HYDROData_Entity.h"
#include "HYDROData_IInterpolator.h"
-class Handle(HYDROData_LandCover);
+class HYDROData_LandCover;
class TopoDS_Shape;
-DEFINE_STANDARD_HANDLE(HYDROData_Zone, HYDROData_Entity)
-
/**\class HYDROData_Zone
* \brief Class that stores/retreives information about the 2d face.
{
public:
-
// Enumeration of mergin types for conflict altitudes/types
enum MergeType
{
};
public:
- DEFINE_STANDARD_RTTI(HYDROData_Zone);
+ DEFINE_STANDARD_RTTIEXT(HYDROData_Zone, HYDROData_Entity);
/**
* Returns the kind of this object. Must be redefined in all objects of known type.
/**
* Sets the reference object to resolve the conflict.
* This object is used only in case of "Merge_Object" merge type.
+ * \param theObject the merge object
*/
HYDRODATA_EXPORT virtual void SetMergeObject( const Handle(HYDROData_Entity)& theObject );
/**
* Returns the reference object to resolve the conflict.
+ * \return the merge object
*/
HYDRODATA_EXPORT virtual Handle(HYDROData_Entity) GetMergeObject() const;
/**
* Add new one object for zone.
+ * \param theObject the object to add
*/
HYDRODATA_EXPORT virtual bool AddObject( const Handle(HYDROData_Entity)& theObject );
/**
* Returns all objects of zone.
+ * \return the list of objects
*/
HYDRODATA_EXPORT virtual HYDROData_SequenceOfObjects GetObjects() const;
*/
HYDRODATA_EXPORT virtual void RemoveObjects();
+ /**
+ * Returns submersible flag.
+ * \return true if all objects of the zone is submersible
+ */
HYDRODATA_EXPORT bool IsSubmersible() const;
protected: