/**
* Removes reference region from calculation case.
*/
- void RemoveRegion( HYDROData_Region theRegion ) [void ( const Handle_HYDROData_Region& )];
+ void RemoveRegion( HYDROData_Region theRegion, const bool theLandCover ) [void ( const Handle_HYDROData_Region&, const bool )];
%MethodCode
Handle(HYDROData_Region) aRef =
Handle(HYDROData_Region)::DownCast( createHandle( a0 ) );
{
Py_BEGIN_ALLOW_THREADS
if ( sipSelfWasArg ) {
- sipCpp->HYDROData_CalculationCase::RemoveRegion( aRef );
+ sipCpp->HYDROData_CalculationCase::RemoveRegion( aRef, a1 );
} else {
- sipCpp->RemoveRegion( aRef );
+ sipCpp->RemoveRegion( aRef, a1 );
}
Py_END_ALLOW_THREADS
}
public:
// Public methods to work with Calculation services
+ /**
+ * Returns strickler coefficient for given point.
+ * \param thePoint the point to examine
+ * \return result strickler coefficient
+ */
+ double GetStricklerCoefficientForPoint( const double theCoordX,
+ const double theCoordY ) const [double ( const gp_XY& ) ];
+ %MethodCode
+ gp_XY aPnt( a0, a1 );
+
+ Py_BEGIN_ALLOW_THREADS
+ sipRes = sipSelfWasArg ? sipCpp->HYDROData_CalculationCase::GetStricklerCoefficientForPoint( aPnt ) :
+ sipCpp->GetStricklerCoefficientForPoint( aPnt );
+ Py_END_ALLOW_THREADS
+ %End
+
/**
* Returns altitude for given point.
* \param thePoint the point to examine
void AddRule( HYDROData_Entity theObject1,
HYDROData_PriorityType thePriority,
HYDROData_Entity theObject2,
- HYDROData_Zone::MergeAltitudesType theMergeType,
+ HYDROData_Zone::MergeType theMergeType,
HYDROData_CalculationCase::DataTag theDataTag )
- [void ( const Handle_HYDROData_Entity&, HYDROData_PriorityType, const Handle_HYDROData_Entity&, HYDROData_Zone::MergeAltitudesType, HYDROData_CalculationCase::DataTag )];
+ [void ( const Handle_HYDROData_Entity&, HYDROData_PriorityType, const Handle_HYDROData_Entity&, HYDROData_Zone::MergeType, HYDROData_CalculationCase::DataTag )];
%MethodCode
Handle(HYDROData_Entity) anObject1 =
Handle(HYDROData_Entity)::DownCast( createHandle( a0 ) );
%End
QString DumpRules();
+ QString DumpLandCoverRules();
void SetAssignmentMode( AssignmentMode theMode );
AssignmentMode GetAssignmentMode() const;
+ void SetAssignmentLandCoverMode( AssignmentMode theMode );
+ AssignmentMode GetAssignmentLandCoverMode() const;
+
protected:
/**