X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=doc%2Fsalome%2Fgui%2FSMESH%2Fsmeshpy_doc%2Fclasssmesh_1_1Mesh__Segment__Python.html;h=c7f02782216940c729735a144a1208c82e75f554;hp=230c9c259068622f6b9ec6b710d6f0f4c8b4cc32;hb=5b8dad5b5d30efc06b273afc6b5b0f0cc5c55691;hpb=c63ee099ad2b149bd70136839c973e8910137bc5 diff --git a/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Segment__Python.html b/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Segment__Python.html index 230c9c259..c7f027822 100644 --- a/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Segment__Python.html +++ b/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Segment__Python.html @@ -1,10 +1,19 @@ - - -SALOME - SMESH - v.version: smesh.Mesh_Segment_Python Class Reference + + + + + + Main Page - + + +  + + +

smesh.Mesh_Segment_Python Class Reference

Class to define a segment 1D algorithm for discretization with python function. More...

@@ -43,40 +52,57 @@ Inheritance diagram for smesh.Mesh_Segment_Python:

def AutomaticLength  Define "AutomaticLength" hypothesis.
+def LengthNearVertex + + Define "SegmentLengthAroundVertex" hypothesis.
def QuadraticMesh  Define "QuadraticMesh" hypothesis, forcing construction of quadratic edges.
+def FindHypothesis + def GetSubMesh + If the algorithm is global, return 0;
+ else return the submesh associated to this algorithm.
def GetAlgorithm  Return the wrapped mesher.
-def TreatHypoStatus +def GetCompatibleHypothesis + + Get list of hypothesis that can be used with this algorithm.
+def GetName - Private method.
+ Get name of algo.
+def SetName + + Set name to algo.
+def GetId + + Get id of algo.
def Create  Private method.
+def Assign + + Private method.
def Hypothesis  Private method.

Data Fields

meshgeomgeommesh  submalgo -

Static Public Attributes

-int mesh = 0 +int algo = 0 -int geom = 0 +int mesh = 0 int subm = 0 -int algo = 0 +dictionary hypos = {}

Detailed Description

@@ -149,7 +175,13 @@ Reimplemented from   - func + func, + + + + +   + UseExisting = 0 @@ -172,6 +204,7 @@ Reimplemented from n for the number of segments that cut an edge func for the python function that calculate the length of all segments + UseExisting if ==true - search existing hypothesis created with same parameters, else (default) - create new @@ -192,7 +225,13 @@ Reimplemented from   - l + l, + + + + +   + UseExisting = 0 @@ -214,6 +253,7 @@ Reimplemented from l for the length of segments that cut an edge + UseExisting if ==true - search existing hypothesis created with same parameters, else (default) - create new @@ -240,7 +280,13 @@ Reimplemented from   - s = [] + s = [], + + + + +   + UseExisting = 0 @@ -263,6 +309,7 @@ Reimplemented from n for the number of segments that cut an edge s for the scale factor (optional) + UseExisting if ==true - search existing hypothesis created with same parameters, else (default) - create new @@ -289,7 +336,13 @@ Reimplemented from   - end + end, + + + + +   + UseExisting = 0 @@ -312,6 +365,7 @@ Reimplemented from start for the length of the first segment end for the length of the last segment + UseExisting if ==true - search existing hypothesis created with same parameters, else (default) - create new @@ -338,7 +392,13 @@ Reimplemented from   - end + end, + + + + +   + UseExisting = 0 @@ -361,6 +421,7 @@ Reimplemented from start for the length of the first segment end for the length of the last segment + UseExisting if ==true - search existing hypothesis created with same parameters, else (default) - create new @@ -381,7 +442,13 @@ Reimplemented from   - d + d, + + + + +   + UseExisting = 0 @@ -403,6 +470,7 @@ Reimplemented from d for the deflection + UseExisting if ==true - search existing hypothesis created with same parameters, else (default) - create new @@ -451,7 +519,13 @@ Reimplemented from   - fineness = 0 + fineness = 0, + + + + +   + UseExisting = 0 @@ -473,6 +547,63 @@ Reimplemented from fineness for the fineness [0-1] + UseExisting if ==true - search existing hypothesis created with same parameters, else (default) - create new + + + + + +

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh_Segment.LengthNearVertex   self,
  length,
  vertex = 0,
  UseExisting = 0
[inherited]
+
+ + + + @@ -506,6 +637,49 @@ Reimplemented from

+

+   + + +

+

Parameters:
+ + + +
length for the segment length
vertex for the length localization: vertex index [0,1] | verext object
UseExisting if ==true - search existing hypothesis created with same parameters, else (default) - create new
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh_Algorithm.FindHypothesis   self,
  hypname,
  args
[inherited]
+
+ + + + + +
+   + + +

+

@@ -562,40 +736,78 @@ If the 2D mesher sees that all boundary edges are quadratic ones, it generates q
-

+

+ +
- + - - - - - - - + + + +
def smesh.Mesh_Algorithm.TreatHypoStatus def smesh.Mesh_Algorithm.GetCompatibleHypothesis   self,
  status, self  )  [inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ - - - - + + + + + + +
  hypName, def smesh.Mesh_Algorithm.GetName   self  )  [inherited]
+
+ + + + + +
+   + + +

+

+

+ + +
+ - - - - + + + + - + @@ -614,7 +826,35 @@ If the 2D mesher sees that all boundary edges are quadratic ones, it generates q + + +
  geomName, def smesh.Mesh_Algorithm.SetName   self,
  isAlgo name

-Print error message if a hypothesis was not assigned.

+

+ + + + +
+ + + + + + + + + +
def smesh.Mesh_Algorithm.GetId   self  )  [inherited]
+
+ + + +
+   + + +

+

@@ -672,13 +912,13 @@ Print error message if a hypothesis was not assigned.

-

+

- + @@ -687,19 +927,19 @@ Print error message if a hypothesis was not assigned. - + - + - + @@ -721,14 +961,45 @@ Print error message if a hypothesis was not assigned.
def smesh.Mesh_Algorithm.Hypothesis def smesh.Mesh_Algorithm.Assign   self,   hyp, algo,
  args = [], mesh,
  so = "libStdMeshersEngine.so" geom
-

Field Documentation

-

+

@@ -745,13 +1016,14 @@ Print error message if a hypothesis was not assigned.
- + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
int smesh.Mesh_Algorithm.mesh = 0 [static, inherited] def smesh.Mesh_Algorithm.Hypothesis   self,
  hyp,
  args = [],
  so = "libStdMeshersEngine.so",
  UseExisting = 0
[inherited]
-

+


Field Documentation

+

@@ -765,16 +1037,18 @@ Print error message if a hypothesis was not assigned. + +

+Reimplemented from smesh.Mesh_Segment.

- +
smesh.Mesh_Algorithm.mesh [inherited] int smesh.Mesh_Segment_Python.algo = 0 [static]

-

-

+

@@ -788,16 +1062,18 @@ Print error message if a hypothesis was not assigned. + +

+Reimplemented from smesh.Mesh_Algorithm.

- +
int smesh.Mesh_Algorithm.geom = 0 [static, inherited] smesh.Mesh_Segment.geom [inherited]

-

-

+

@@ -814,13 +1090,13 @@ Print error message if a hypothesis was not assigned.
- +
smesh.Mesh_Algorithm.geom [inherited] int smesh.Mesh_Algorithm.mesh = 0 [static, inherited]
-

+

@@ -837,13 +1113,13 @@ Print error message if a hypothesis was not assigned.
- +
int smesh.Mesh_Algorithm.subm = 0 [static, inherited] smesh.Mesh_Algorithm.mesh [inherited]
-

+

@@ -860,13 +1136,13 @@ Print error message if a hypothesis was not assigned.
- +
smesh.Mesh_Algorithm.subm [inherited] int smesh.Mesh_Algorithm.subm = 0 [static, inherited]
-

+

@@ -883,13 +1159,13 @@ Print error message if a hypothesis was not assigned.
- +
int smesh.Mesh_Algorithm.algo = 0 [static, inherited] smesh.Mesh_Algorithm.subm [inherited]
-

+

@@ -906,5 +1182,8 @@ Print error message if a hypothesis was not assigned.
- +
smesh.Mesh_Algorithm.algo [inherited] dictionary smesh.Mesh_Algorithm.hypos = {} [static, inherited]
- - + +

+ +