+ };
+
+ /*!
+ * interface of "NETGEN 2D parameters" hypothesis used by NETGENPlugin_NETGEN_2D_ONLY algorithm
+ */
+ interface NETGENPlugin_Hypothesis_2D_ONLY : NETGENPlugin_Hypothesis_2D
+ {
+ };
+
+ /*!
+ * interface of "NETGEN 3D parameters" hypothesis used by NETGENPlugin_NETGEN_3D algorithm
+ */
+ interface NETGENPlugin_Hypothesis_3D : NETGENPlugin_Hypothesis
+ {
+ };
+
+ /*!
+ * interface of "NETGEN Remesher parameters" hypothesis used by NETGENPlugin_Remesher_2D algorithm
+ */
+ interface NETGENPlugin_RemesherHypothesis_2D : NETGENPlugin_Hypothesis_2D
+ {
+ /*!
+ * \brief Set/get ridge angle
+ */
+ void SetRidgeAngle(in double angle );
+ double GetRidgeAngle();
+
+ void SetEdgeCornerAngle(in double angle );
+ double GetEdgeCornerAngle();
+
+ void SetChartAngle(in double angle );
+ double GetChartAngle();
+
+ void SetOuterChartAngle(in double angle );
+ double GetOuterChartAngle();
+
+ void SetRestHChartDistFactor(in double f );
+ double GetRestHChartDistFactor();
+
+ void SetRestHChartDistEnable(in boolean enable );
+ boolean GetRestHChartDistEnable();
+
+ void SetRestHLineLengthFactor(in double f );
+ double GetRestHLineLengthFactor();
+
+ void SetRestHLineLengthEnable(in boolean enable );
+ boolean GetRestHLineLengthEnable();
+
+ void SetRestHCloseEdgeFactor(in double f );
+ double GetRestHCloseEdgeFactor();
+
+ void SetRestHCloseEdgeEnable(in boolean enable );
+ boolean GetRestHCloseEdgeEnable();
+
+ void SetRestHSurfCurvFactor(in double f );
+ double GetRestHSurfCurvFactor();
+
+ void SetRestHSurfCurvEnable(in boolean enable );
+ boolean GetRestHSurfCurvEnable();
+
+ void SetRestHEdgeAngleFactor(in double f );
+ double GetRestHEdgeAngleFactor();
+
+ void SetRestHEdgeAngleEnable(in boolean enable );
+ boolean GetRestHEdgeAngleEnable();
+
+ void SetRestHSurfMeshCurvFactor(in double f );
+ double GetRestHSurfMeshCurvFactor();
+
+ void SetRestHSurfMeshCurvEnable(in boolean enable );
+ boolean GetRestHSurfMeshCurvEnable();
+
+ void SetKeepExistingEdges(in boolean toKeep );
+ boolean GetKeepExistingEdges();
+
+ void SetMakeGroupsOfSurfaces(in boolean toMake );
+ boolean GetMakeGroupsOfSurfaces();
+
+ void SetLoadMeshOnCancel(in boolean toLoad );
+ boolean GetLoadMeshOnCancel();
+
+ void SetFixedEdgeGroup( in SMESH::SMESH_GroupBase edgeGroup );
+ SMESH::SMESH_GroupBase GetFixedEdgeGroup( in SMESH::SMESH_Mesh mesh );
+ };
+
+ /*!
+ * NETGENPlugin_Hypothesis: interface of "NETGEN 2D simple parameters" hypothesis
+ */
+ interface NETGENPlugin_SimpleHypothesis_2D : SMESH::SMESH_Hypothesis
+ {
+ /*!
+ * Sets <number of segments> value
+ */
+ void SetNumberOfSegments(in long nb) raises (SALOME::SALOME_Exception);
+ /*!
+ * Returns <number of segments> value.
+ * Can be zero in case if LocalLength() has been set
+ */
+ long GetNumberOfSegments();
+
+ /*!
+ * Sets <segment length> value
+ */
+ void SetLocalLength(in double segmentLength);
+ /*!
+ * Returns <segment length> value.
+ * Can be zero in case if NumberOfSegments() has been set
+ */
+ double GetLocalLength();
+
+ /*!
+ * Sets <maximum element area> to be dependent on 1D discretization
+ */
+ void LengthFromEdges();
+ /*!
+ * Sets <maximum element area> value.
+ * Zero or negative value means same as LengthFromEdges().
+ */
+ void SetMaxElementArea(in double area);
+ /*!
+ * Returns <maximum element area> value.
+ * Can be zero in case of LengthFromEdges()
+ */
+ double GetMaxElementArea();
+
+ /*!
+ * Enables/disables generation of quadrangular faces
+ */
+ void SetAllowQuadrangles(in boolean toAllow);
+ /*!
+ * Returns true if generation of quadrangular faces is enabled
+ */
+ boolean GetAllowQuadrangles();
+ };
+
+ /*!
+ * NETGENPlugin_SimpleHypothesis_3D: interface of "NETGEN 3D simple parameters" hypothesis
+ */
+ interface NETGENPlugin_SimpleHypothesis_3D : NETGENPlugin_SimpleHypothesis_2D
+ {
+ /*!
+ * Sets <maximum element volume> to be dependent on 2D discretization
+ */
+ void LengthFromFaces();
+ /*!
+ * Sets <maximum element volume> value.
+ * Zero or negative value means same as LengthFromFaces().
+ */
+ void SetMaxElementVolume(in double volume);
+
+ /*!
+ * Returns <maximum element volume> value
+ * Can be zero in case of LengthFromFaces()
+ */
+ double GetMaxElementVolume();