|
Functions | |
| def | smeshDC::Mesh_Triangle.MaxElementArea |
| Defines "MaxElementArea" hypothesis basing on the definition of the maximum area of each triangle. | |
| def | smeshDC::Mesh_Triangle.LengthFromEdges |
| Defines "LengthFromEdges" hypothesis to build triangles based on the length of the edges taken from the wire. | |
| def smeshDC.Mesh_Triangle.LengthFromEdges | ( | self | ) | [inherited] |
Defines "LengthFromEdges" hypothesis to build triangles based on the length of the edges taken from the wire.
Only for algoType == MEFISTO || NETGEN_2D
Definition at line 4913 of file smeshDC.py.
04914 : 04915 if self.algoType == MEFISTO or self.algoType == NETGEN_2D: 04916 hyp = self.Hypothesis("LengthFromEdges", UseExisting=1, CompareMethod=self.CompareEqualHyp) 04917 return hyp 04918 elif self.algoType == NETGEN: 04919 hyp = self.Parameters(SIMPLE) 04920 hyp.LengthFromEdges() 04921 return hyp
| def smeshDC.Mesh_Triangle.MaxElementArea | ( | self, | |
| area, | |||
UseExisting = 0 |
|||
| ) | [inherited] |
Defines "MaxElementArea" hypothesis basing on the definition of the maximum area of each triangle.
| area | for the maximum area of each triangle |
| UseExisting | if ==true - searches for an existing hypothesis created with the same parameters, else (default) - creates a new one |
Only for algoType == MEFISTO || NETGEN_2D
Definition at line 4895 of file smeshDC.py.
04896 : 04897 if self.algoType == MEFISTO or self.algoType == NETGEN_2D: 04898 hyp = self.Hypothesis("MaxElementArea", [area], UseExisting=UseExisting, 04899 CompareMethod=self.CompareMaxElementArea) 04900 elif self.algoType == NETGEN: 04901 hyp = self.Parameters(SIMPLE) 04902 hyp.SetMaxElementArea(area) 04903 return hyp