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

Defines a Quadrangle (Medial Axis Projection) 1D-2D algorithm. More...

Inheritance diagram for StdMeshersBuilder_QuadMA_1D2D:
Inheritance graph

Public Member Functions

def __init__
 Private constructor. More...
 
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
 

Static Public Attributes

string meshMethod = "Quadrangle"
 name of the dynamic method in smeshBuilder.Mesh class More...
 
 algoType = QUAD_MA_PROJ
 type of algorithm used with helper function in smeshBuilder.Mesh class More...
 
string docHelper = "Creates quadrangle 1D-2D algorithm for faces"
 doc string of the method More...
 

Detailed Description

Defines a Quadrangle (Medial Axis Projection) 1D-2D algorithm.

It is created by calling smeshBuilder.Mesh.Quadrangle(smeshBuilder.QUAD_MA_PROJ,geom=0)

Constructor & Destructor Documentation

Member Function Documentation

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

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 
)
inherited

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 = [] 
)
inherited

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 
)
inherited

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 
)
inherited

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 
)
inherited

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 
)
inherited

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

string meshMethod = "Quadrangle"
static

name of the dynamic method in smeshBuilder.Mesh class

algoType = QUAD_MA_PROJ
static

type of algorithm used with helper function in smeshBuilder.Mesh class

string docHelper = "Creates quadrangle 1D-2D algorithm for faces"
static

doc string of the method

distribHyp
inherited
nbLayers
inherited