Version: 8.3.0
Home
 All Data Structures Namespaces Files Functions Variables Groups
StdMeshersBuilder_RadialAlgorithm Class Reference

Base class for algorithms supporting radial distribution hypotheses. More...

Inheritance diagram for StdMeshersBuilder_RadialAlgorithm:
Inheritance graph

Public Member Functions

def __init__
 
def Get2DHypothesis
 Return 2D hypothesis holding the 1D one. More...
 
def OwnHypothesis
 Private method creating a 1D hypothesis and storing it in the LayerDistribution hypothesis. More...
 
def NumberOfLayers
 Defines "NumberOfLayers" hypothesis, specifying the number of layers. More...
 
def LocalLength
 Defines "LocalLength" hypothesis, specifying the segment length. More...
 
def NumberOfSegments
 Defines "NumberOfSegments" hypothesis, specifying the number of layers. More...
 
def Arithmetic1D
 Defines "Arithmetic1D" hypothesis, specifying the distribution of segments with a length that changes in arithmetic progression. More...
 
def GeometricProgression
 Defines "GeometricProgression" hypothesis, specifying the distribution of segments with a length that changes in Geometric progression. More...
 
def StartEndLength
 Defines "StartEndLength" hypothesis, specifying distribution of segments as geometric length increasing. More...
 
def AutomaticLength
 Defines "AutomaticLength" hypothesis, specifying the number of segments. More...
 

Data Fields

 distribHyp
 
 nbLayers
 

Detailed Description

Base class for algorithms supporting radial distribution hypotheses.

Constructor & Destructor Documentation

def __init__ (   self)

Member Function Documentation

def OwnHypothesis (   self,
  hypType,
  args = [],
  so = "libStdMeshersEngine.so" 
)
def NumberOfLayers (   self,
  n,
  UseExisting = 0 
)

Defines "NumberOfLayers" hypothesis, specifying the number of layers.

Parameters
nnumber of layers
UseExistingif ==true - searches for the existing hypothesis created with the same parameters, else (default) - creates a new one

References StdMeshersBuilder_Prism3D.distribHyp, StdMeshersBuilder_RadialPrism3D.distribHyp, StdMeshersBuilder_RadialAlgorithm.distribHyp, Mesh_Algorithm.geom, StdMeshersBuilder_Segment.geom, Mesh.geom, Mesh_Algorithm.Hypothesis(), smeshBuilder.IsEqual(), StdMeshersBuilder_Prism3D.nbLayers, StdMeshersBuilder_RadialPrism3D.nbLayers, and StdMeshersBuilder_RadialAlgorithm.nbLayers.

def LocalLength (   self,
  l,
  p = 1e-07 
)

Defines "LocalLength" hypothesis, specifying the segment length.

Parameters
lthe length of segments
pthe precision of rounding

References StdMeshersBuilder_Prism3D.OwnHypothesis(), and StdMeshersBuilder_RadialAlgorithm.OwnHypothesis().

def NumberOfSegments (   self,
  n,
  s = [] 
)

Defines "NumberOfSegments" hypothesis, specifying the number of layers.

Parameters
nthe number of layers
sthe scale factor (optional)

References StdMeshersBuilder_Prism3D.OwnHypothesis(), and StdMeshersBuilder_RadialAlgorithm.OwnHypothesis().

def Arithmetic1D (   self,
  start,
  end 
)

Defines "Arithmetic1D" hypothesis, specifying the distribution of segments with a length that changes in arithmetic progression.

Parameters
startthe length of the first segment
endthe length of the last segment

References StdMeshersBuilder_Prism3D.OwnHypothesis(), and StdMeshersBuilder_RadialAlgorithm.OwnHypothesis().

def GeometricProgression (   self,
  start,
  ratio 
)

Defines "GeometricProgression" hypothesis, specifying the distribution of segments with a length that changes in Geometric progression.

Parameters
startthe length of the first segment
ratiothe common ratio of the geometric progression

References StdMeshersBuilder_Prism3D.OwnHypothesis(), and StdMeshersBuilder_RadialAlgorithm.OwnHypothesis().

def StartEndLength (   self,
  start,
  end 
)

Defines "StartEndLength" hypothesis, specifying distribution of segments as geometric length increasing.

Parameters
startfor the length of the first segment
endfor the length of the last segment

References StdMeshersBuilder_Prism3D.OwnHypothesis(), and StdMeshersBuilder_RadialAlgorithm.OwnHypothesis().

def AutomaticLength (   self,
  fineness = 0 
)

Defines "AutomaticLength" hypothesis, specifying the number of segments.

Parameters
finenessdefines the quality of the mesh within the range [0-1]

References StdMeshersBuilder_Prism3D.OwnHypothesis(), and StdMeshersBuilder_RadialAlgorithm.OwnHypothesis().

Field Documentation

distribHyp
nbLayers