OCC.StdMeshers module¶
No docstring provided.
-
class
StdMeshers_Arithmetic1D
(*args)¶ Bases:
OCC.SMESH.SMESH_Hypothesis
Parameters: Return type: -
GetObjectEntry
()¶ Return type: char *
-
GetReversedEdges
()¶ Return type: std::vector<int>
-
LoadFrom
()¶ Parameters: load (std::istream &) – Return type: std::istream
-
SaveTo
()¶ Parameters: save (std::ostream &) – Return type: std::ostream
-
SetParametersByDefaults
()¶ - /*! * rief Initialize my parameter values by default parameters. * etval bool - true if parameter values have been successfully defined */
Parameters: - dflts (SMESH_0D_Algo::TDefaults &) –
- theMesh (SMESH_Mesh *) – default value is 0
Return type:
-
SetParametersByMesh
()¶ - /*! * rief Initialize start and end length by the mesh built on the geometry * param theMesh - the built mesh * param theShape - the geometry of interest * etval bool - true if parameter values have been successfully defined */
Parameters: - theMesh (SMESH_Mesh *) –
- theShape (TopoDS_Shape &) –
Return type:
-
thisown
¶ The membership flag
-
-
class
StdMeshers_AutomaticLength
(*args)¶ Bases:
OCC.SMESH.SMESH_Hypothesis
Parameters: Return type: -
GetFineness
()¶ -
Return type: double
-
GetLength
()¶ -
Parameters: - aMesh (SMESH_Mesh *) –
- anEdge (TopoDS_Shape &) –
Return type: double
Parameters: - aMesh (SMESH_Mesh *) –
- edgeLength (double) –
Return type: double
-
LoadFrom
()¶ Parameters: load (std::istream &) – Return type: std::istream
-
SaveTo
()¶ Parameters: save (std::ostream &) – Return type: std::ostream
-
SetFineness
()¶ - /*! * rief Set Fineness * param theFineness - The Fineness value [0.0-1.0], * 0 - coarse mesh * 1 - fine mesh * * Raise if theFineness is out of range * The ‘Initial Number of Elements on the Shortest Edge’ (S0) * is divided by (0.5 + 4.5 x theFineness) */
Parameters: theFineness (double) – Return type: None
-
SetParametersByDefaults
()¶ - /*! * rief Initialize my parameter values by default parameters. * etval bool - true if parameter values have been successfully defined */
Parameters: - dflts (SMESH_0D_Algo::TDefaults &) –
- theMesh (SMESH_Mesh *) – default value is 0
Return type:
-
SetParametersByMesh
()¶ - /*! * rief Initialize Fineness by the mesh built on the geometry * param theMesh - the built mesh * param theShape - the geometry of interest * etval bool - true if parameter values have been successfully defined */
Parameters: - theMesh (SMESH_Mesh *) –
- theShape (TopoDS_Shape &) –
Return type:
-
thisown
¶ The membership flag
-
-
class
StdMeshers_CompositeHexa_3D
(*args)¶ Bases:
object
Parameters: Return type: -
Evaluate
()¶ Parameters: - aMesh (SMESH_Mesh &) –
- aShape (TopoDS_Shape &) –
- aResMap (MapShapeNbElems &) –
Return type:
-
thisown
¶ The membership flag
-
-
class
StdMeshers_Deflection1D
(*args)¶ Bases:
OCC.SMESH.SMESH_Hypothesis
Parameters: Return type: -
GetDeflection
()¶ Return type: double
-
LoadFrom
()¶ Parameters: load (std::istream &) – Return type: std::istream
-
SaveTo
()¶ Parameters: save (std::ostream &) – Return type: std::ostream
-
SetParametersByDefaults
()¶ - /*! * rief Initialize my parameter values by default parameters. * etval bool - true if parameter values have been successfully defined */
Parameters: - dflts (SMESH_0D_Algo::TDefaults &) –
- theMesh (SMESH_Mesh *) – default value is 0
Return type:
-
SetParametersByMesh
()¶ - /*! * rief Initialize deflection value by the mesh built on the geometry * param theMesh - the built mesh * param theShape - the geometry of interest * etval bool - true if parameter values have been successfully defined */
Parameters: - theMesh (SMESH_Mesh *) –
- theShape (TopoDS_Shape &) –
Return type:
-
thisown
¶ The membership flag
-
-
class
StdMeshers_FaceSide
(*args)¶ Bases:
object
Parameters: Return type: Parameters: Return type: Parameters: - theNode (SMDS_MeshNode *) –
- thePnt2d (gp_Pnt2d) –
- theSide (StdMeshers_FaceSide *) –
Return type: -
Edge
()¶ -
Parameters: i (int) – Return type: TopoDS_Edge
-
EdgeIndex
()¶ -
Parameters: U (double) – Return type: inline int
-
GetCurve2d
()¶ -
Return type: Adaptor2d_Curve2d *
-
GetCurve3d
()¶ -
Return type: BRepAdaptor_CompCurve *
-
static
GetFaceWires
()¶ -
Parameters: - theFace (TopoDS_Face &) –
- theMesh (SMESH_Mesh &) –
- theIgnoreMediumNodes (bool) –
- theError (TError &) –
Return type: TSideVector
-
GetUVPtStruct
()¶ - /*! * rief Return detailed data on nodes * param isXConst - true if normalized parameter X is constant * param constValue - constant parameter value * * Missing nodes are allowed only on internal vertices */
Parameters: - isXConst (bool) – default value is 0
- constValue (double) – default value is 0
Return type: std::vector<UVPtStruct>
-
Parameter
()¶ -
Parameters: - U (double) –
- edge (TopoDS_Edge &) –
Return type: inline double
-
SimulateUVPtStruct
()¶ - /*! * rief Simulates detailed data on nodes * param isXConst - true if normalized parameter X is constant * param constValue - constant parameter value */
Parameters: Return type: std::vector<UVPtStruct>
-
thisown
¶ The membership flag
-
StdMeshers_FaceSide_GetFaceWires
()¶ -
Parameters: - theFace (TopoDS_Face &) –
- theMesh (SMESH_Mesh &) –
- theIgnoreMediumNodes (bool) –
- theError (TError &) –
Return type: TSideVector
-
class
StdMeshers_FixedPoints1D
(*args)¶ Bases:
OCC.SMESH.SMESH_Hypothesis
Parameters: Return type: -
GetNbSegments
()¶ Return type: std::vector<int>
-
GetObjectEntry
()¶ Return type: char *
-
GetPoints
()¶ Return type: std::vector<double>
-
GetReversedEdges
()¶ Return type: std::vector<int>
-
LoadFrom
()¶ Parameters: load (std::istream &) – Return type: std::istream
-
SaveTo
()¶ Parameters: save (std::ostream &) – Return type: std::ostream
-
SetParametersByDefaults
()¶ - /*! * rief Initialize my parameter values by default parameters. * etval bool - true if parameter values have been successfully defined */
Parameters: - dflts (SMESH_0D_Algo::TDefaults &) –
- theMesh (SMESH_Mesh *) – default value is 0
Return type:
-
SetParametersByMesh
()¶ - /*! * rief Initialize start and end length by the mesh built on the geometry * param theMesh - the built mesh * param theShape - the geometry of interest * etval bool - true if parameter values have been successfully defined */
Parameters: - theMesh (SMESH_Mesh *) –
- theShape (TopoDS_Shape &) –
Return type:
-
thisown
¶ The membership flag
-
-
class
StdMeshers_Hexa_3D
(*args)¶ Bases:
object
Parameters: Return type: -
CheckHypothesis
()¶ Parameters: - aMesh (SMESH_Mesh &) –
- aShape (TopoDS_Shape &) –
- aStatus (SMESH_Hypothesis::Hypothesis_Status &) –
Return type:
-
Evaluate
()¶ Parameters: - aMesh (SMESH_Mesh &) –
- aShape (TopoDS_Shape &) –
- aResMap (MapShapeNbElems &) –
Return type:
-
static
OppositeVertex
()¶ Parameters: - aVertex (TopoDS_Vertex &) –
- aQuads0Vertices (TopTools_IndexedMapOfShape &) –
- aQuads (FaceQuadStruct *) –
Return type:
-
thisown
¶ The membership flag
-
-
StdMeshers_Hexa_3D_OppositeVertex
()¶ Parameters: - aVertex (TopoDS_Vertex &) –
- aQuads0Vertices (TopTools_IndexedMapOfShape &) –
- aQuads (FaceQuadStruct *) –
Return type:
-
class
StdMeshers_LayerDistribution
(*args)¶ Bases:
OCC.SMESH.SMESH_Hypothesis
Parameters: Return type: -
GetLayerDistribution
()¶ - /*! * rief Returns 1D hypothesis specifying distribution of layers * etval SMESH::SMESH_Hypothesis_ptr - 1D hypothesis */
Return type: SMESH_Hypothesis *
-
LoadFrom
()¶ Parameters: load (std::istream &) – Return type: std::istream
-
SaveTo
()¶ Parameters: save (std::ostream &) – Return type: std::ostream
-
SetParametersByDefaults
()¶ - /*! * rief Initialize my parameter values by default parameters. * etval bool - true if parameter values have been successfully defined */
Parameters: - dflts (SMESH_0D_Algo::TDefaults &) –
- theMesh (SMESH_Mesh *) – default value is 0
Return type:
-
SetParametersByMesh
()¶ - /*! * rief Initialize parameters by the mesh built on the geometry * param theMesh - the built mesh * param theShape - the geometry of interest * etval bool - true if parameter values have been successfully defined * * Implementation does noting */
Parameters: - theMesh (SMESH_Mesh *) –
- theShape (TopoDS_Shape &) –
Return type:
-
thisown
¶ The membership flag
-
-
class
StdMeshers_LayerDistribution2D
(*args)¶ Bases:
OCC.StdMeshers.StdMeshers_LayerDistribution
Parameters: Return type: -
thisown
¶ The membership flag
-
-
class
StdMeshers_LengthFromEdges
(*args)¶ Bases:
OCC.SMESH.SMESH_Hypothesis
Parameters: Return type: -
LoadFrom
()¶ Parameters: load (std::istream &) – Return type: std::istream
-
SaveTo
()¶ Parameters: save (std::ostream &) – Return type: std::ostream
-
SetParametersByDefaults
()¶ - /*! * rief Initialize my parameter values by default parameters. * etval bool - true if parameter values have been successfully defined */
Parameters: - dflts (SMESH_0D_Algo::TDefaults &) –
- theMesh (SMESH_Mesh *) – default value is 0
Return type:
-
SetParametersByMesh
()¶ - /*! * rief Initialize my parameter values by the mesh built on the geometry * param theMesh - the built mesh * param theShape - the geometry of interest * etval bool - true if parameter values have been successfully defined * * Just return false as this hypothesis does not have parameters values */
Parameters: - theMesh (SMESH_Mesh *) –
- theShape (TopoDS_Shape &) –
Return type:
-
thisown
¶ The membership flag
-
-
class
StdMeshers_LocalLength
(*args)¶ Bases:
OCC.SMESH.SMESH_Hypothesis
Parameters: Return type: -
GetLength
()¶ Return type: double
-
GetPrecision
()¶ Return type: double
-
LoadFrom
()¶ Parameters: load (std::istream &) – Return type: std::istream
-
SaveTo
()¶ Parameters: save (std::ostream &) – Return type: std::ostream
-
SetParametersByDefaults
()¶ - /*! * rief Initialize my parameter values by default parameters. * etval bool - true if parameter values have been successfully defined */
Parameters: - dflts (SMESH_0D_Algo::TDefaults &) –
- theMesh (SMESH_Mesh *) – default value is 0
Return type:
-
SetParametersByMesh
()¶ - /*! * rief Initialize segment length by the mesh built on the geometry * param theMesh - the built mesh * param theShape - the geometry of interest * etval bool - true if parameter values have been successfully defined */
Parameters: - theMesh (SMESH_Mesh *) –
- theShape (TopoDS_Shape &) –
Return type:
-
thisown
¶ The membership flag
-
-
class
StdMeshers_MEFISTO_2D
(*args)¶ Bases:
object
Parameters: Return type: -
CheckHypothesis
()¶ Parameters: - aMesh (SMESH_Mesh &) –
- aShape (TopoDS_Shape &) –
- aStatus (SMESH_Hypothesis::Hypothesis_Status &) –
Return type:
-
ComputeScaleOnFace
()¶ Parameters: - aMesh (SMESH_Mesh &) –
- aFace (TopoDS_Face &) –
- scalex (double &) –
- scaley (double &) –
Return type:
-
Evaluate
()¶ Parameters: - aMesh (SMESH_Mesh &) –
- aShape (TopoDS_Shape &) –
- aResMap (MapShapeNbElems &) –
Return type:
-
LoadPoints
()¶ Parameters: - wires (StdMeshers_MEFISTO_2D::TWireVector &) –
- uvslf (R2 *) –
- mefistoToDS (std::vector< SMDS_MeshNode *> &) –
- scalex (double) –
- scaley (double) –
Return type:
-
StoreResult
()¶ Parameters: Return type:
-
thisown
¶ The membership flag
-
-
class
StdMeshers_MaxElementArea
(*args)¶ Bases:
OCC.SMESH.SMESH_Hypothesis
Parameters: Return type: -
GetMaxArea
()¶ Return type: double
-
LoadFrom
()¶ Parameters: load (std::istream &) – Return type: std::istream
-
SaveTo
()¶ Parameters: save (std::ostream &) – Return type: std::ostream
-
SetParametersByDefaults
()¶ - /*! * rief Initialize my parameter values by default parameters. * etval bool - true if parameter values have been successfully defined */
Parameters: - dflts (SMESH_0D_Algo::TDefaults &) –
- theMesh (SMESH_Mesh *) – default value is 0
Return type:
-
SetParametersByMesh
()¶ - /*! * rief Initialize maximal area by the mesh built on the geometry * param theMesh - the built mesh * param theShape - the geometry of interest * etval bool - true if parameter values have been successfully defined */
Parameters: - theMesh (SMESH_Mesh *) –
- theShape (TopoDS_Shape &) –
Return type:
-
thisown
¶ The membership flag
-
-
class
StdMeshers_MaxElementVolume
(*args)¶ Bases:
OCC.SMESH.SMESH_Hypothesis
Parameters: Return type: -
GetMaxVolume
()¶ Return type: double
-
LoadFrom
()¶ Parameters: load (std::istream &) – Return type: std::istream
-
SaveTo
()¶ Parameters: save (std::ostream &) – Return type: std::ostream
-
SetParametersByDefaults
()¶ - /*! * rief Initialize my parameter values by default parameters. * etval bool - true if parameter values have been successfully defined */
Parameters: - dflts (SMESH_0D_Algo::TDefaults &) –
- theMesh (SMESH_Mesh *) – default value is 0
Return type:
-
SetParametersByMesh
()¶ - /*! * rief Initialize maximal volume by the mesh built on the geometry * param theMesh - the built mesh * param theShape - the geometry of interest * etval bool - true if parameter values have been successfully defined */
Parameters: - theMesh (SMESH_Mesh *) –
- theShape (TopoDS_Shape &) –
Return type:
-
thisown
¶ The membership flag
-
-
class
StdMeshers_MaxLength
(*args)¶ Bases:
OCC.SMESH.SMESH_Hypothesis
Parameters: Return type: -
GetLength
()¶ Return type: double
-
GetPreestimatedLength
()¶ Return type: double
-
LoadFrom
()¶ Parameters: load (std::istream &) – Return type: std::istream
-
SaveTo
()¶ Parameters: save (std::ostream &) – Return type: std::ostream
-
SetParametersByDefaults
()¶ - /*! * rief Initialize my parameter values by default parameters. * etval bool - true if parameter values have been successfully defined */
Parameters: - dflts (SMESH_0D_Algo::TDefaults &) –
- theMesh (SMESH_Mesh *) – default value is 0
Return type:
-
SetParametersByMesh
()¶ - /*! * rief Initialize segment length by the mesh built on the geometry * param theMesh - the built mesh * param theShape - the geometry of interest * etval bool - true if parameter values have been successfully defined */
Parameters: - theMesh (SMESH_Mesh *) –
- theShape (TopoDS_Shape &) –
Return type:
-
thisown
¶ The membership flag
-
-
class
StdMeshers_NotConformAllowed
(*args)¶ Bases:
OCC.SMESH.SMESH_Hypothesis
Parameters: Return type: -
LoadFrom
()¶ Parameters: load (std::istream &) – Return type: std::istream
-
SaveTo
()¶ Parameters: save (std::ostream &) – Return type: std::ostream
-
SetParametersByDefaults
()¶ - /*! * rief Initialize my parameter values by default parameters. * etval bool - true if parameter values have been successfully defined */
Parameters: - dflts (SMESH_0D_Algo::TDefaults &) –
- theMesh (SMESH_Mesh *) – default value is 0
Return type:
-
SetParametersByMesh
()¶ - /*! * rief Initialize my parameter values by the mesh built on the geometry * param theMesh - the built mesh * param theShape - the geometry of interest * etval bool - true if parameter values have been successfully defined * * Just return false as this hypothesis does not have parameters values */
Parameters: - theMesh (SMESH_Mesh *) –
- theShape (TopoDS_Shape &) –
Return type:
-
thisown
¶ The membership flag
-
-
class
StdMeshers_NumberOfLayers
(*args)¶ Bases:
OCC.SMESH.SMESH_Hypothesis
Parameters: Return type: -
LoadFrom
()¶ Parameters: load (std::istream &) – Return type: std::istream
-
SaveTo
()¶ Parameters: save (std::ostream &) – Return type: std::ostream
-
SetParametersByDefaults
()¶ - /*! * rief Initialize my parameter values by default parameters. * etval bool - true if parameter values have been successfully defined */
Parameters: - dflts (SMESH_0D_Algo::TDefaults &) –
- theMesh (SMESH_Mesh *) – default value is 0
Return type:
-
SetParametersByMesh
()¶ - /*! * rief Initialize parameters by the mesh built on the geometry * param theMesh - the built mesh * param theShape - the geometry of interest * etval bool - true if parameter values have been successfully defined * * Implementation does noting */
Parameters: - theMesh (SMESH_Mesh *) –
- theShape (TopoDS_Shape &) –
Return type:
-
thisown
¶ The membership flag
-
-
class
StdMeshers_NumberOfLayers2D
(*args)¶ Bases:
OCC.StdMeshers.StdMeshers_NumberOfLayers
Parameters: Return type: -
thisown
¶ The membership flag
-
-
class
StdMeshers_NumberOfSegments
(*args)¶ Bases:
OCC.SMESH.SMESH_Hypothesis
Parameters: Return type: -
BuildDistributionExpr
()¶ :param : :type : char * :param : :type : int :param : :type : int :rtype: std::vector<double>
-
BuildDistributionTab
()¶ Parameters: & (std::vector<double>) – :param : :type : int :param : :type : int :rtype: std::vector<double>
-
ConversionMode
()¶ - /*! * rief Returns conversion mode * * Throws SALOME_Exception if distribution type is not functional */
Return type: int
-
DT_ExprFunc
= 3¶
-
DT_Regular
= 0¶
-
DT_Scale
= 1¶
-
DT_TabFunc
= 2¶
-
GetDistrType
()¶ -
Return type: StdMeshers_NumberOfSegments::DistrType
-
GetExpressionFunction
()¶ - /*! * rief Get expression function for distribution DT_ExprFunc * * Throws SALOME_Exception if distribution type is not DT_ExprFunc */
Return type: char *
-
GetObjectEntry
()¶ Return type: char *
-
GetReversedEdges
()¶ Return type: std::vector<int>
-
GetScaleFactor
()¶ - /*! * rief Get scale factor for scale distribution * * Throws SALOME_Exception if distribution type is not DT_Scale */
Return type: double
-
GetTableFunction
()¶ - /*! * rief Get table function for distribution DT_TabFunc * * Throws SALOME_Exception if distribution type is not DT_TabFunc */
Return type: std::vector<double>
-
LoadFrom
()¶ Parameters: load (std::istream &) – Return type: std::istream
-
SaveTo
()¶ Parameters: save (std::ostream &) – Return type: std::ostream
-
SetConversionMode
()¶ - /*! * rief Set conversion mode. When it is 0, it means ‘exponent mode’: * the function of distribution of density is used as an exponent of 10, i,e, 10^f(t). * When it is 1, it means ‘cut negative mode’. The function of distribution is used as * F(t), where F(t0)=f(t0), if f(t0)>=0, otherwise F(t0) = 0. * This mode is sensible only when function distribution is used (DT_TabFunc or DT_ExprFunc) * * Throws SALOME_Exception if distribution type is not functional */
Parameters: conv (int) – Return type: None
-
SetExpressionFunction
()¶ - /*! * rief Set expression function for distribution DT_ExprFunc * param expr - string containing the expression of the function * f(t), e.g. ‘sin(t)’ * * Throws SALOME_Exception if distribution type is not DT_ExprFunc */
Parameters: expr (char *) – Return type: None
-
SetParametersByDefaults
()¶ - /*! * rief Initialize my parameter values by default parameters. * etval bool - true if parameter values have been successfully defined */
Parameters: - dflts (SMESH_0D_Algo::TDefaults &) –
- theMesh (SMESH_Mesh *) – default value is 0
Return type:
-
SetParametersByMesh
()¶ - /*! * rief Initialize number of segments by the mesh built on the geometry * param theMesh - the built mesh * param theShape - the geometry of interest * etval bool - true if parameter values have been successfully defined */
Parameters: - theMesh (SMESH_Mesh *) –
- theShape (TopoDS_Shape &) –
Return type:
-
SetScaleFactor
()¶ - /*! * rief Set scale factor for scale distribution * param scaleFactor - positive value different from 1 * * Throws SALOME_Exception if distribution type is not DT_Scale, * or scaleFactor is not a positive value different from 1 */
Parameters: scaleFactor (double) – Return type: None
-
SetTableFunction
()¶ - /*! * rief Set table function for distribution DT_TabFunc * param table - this vector contains the pairs (parameter, value) * following each by other, so the number of elements in the vector * must be even. The parameters must be in range [0,1] and sorted in * increase order. The values of function must be positive. * * Throws SALOME_Exception if distribution type is not DT_TabFunc */
Parameters: table (std::vector<double> &) – Return type: None
-
thisown
¶ The membership flag
-
-
class
StdMeshers_PrismAsBlock
(*args)¶ Bases:
object
Return type: None -
GetNodeColumn
()¶ - /! * rief Return pointer to column of nodes * param node - bottom node from which the returned column goes up * etval const TNodeColumn - the found column */
Parameters: node (SMDS_MeshNode *) – Return type: TNodeColumn *
-
GetParam2ColumnMap
()¶ - /*! * rief Return TParam2ColumnMap for a base edge * param baseEdgeID - base edge SMESHDS Index * param isReverse - columns in-block orientation * etval const TParam2ColumnMap& - map */
Parameters: - baseEdgeID (int) –
- isReverse (bool &) –
Return type: TParam2ColumnMap
-
static
GetWallFaces
(*args) → bool¶ - /*! * rief Find wall faces by bottom edges * param mesh - the mesh * param mainShape - the prism * param bottomFace - the bottom face * param bottomEdges - edges bounding the bottom face * param wallFaces - faces list to fill in */
Parameters: - mesh (SMESH_Mesh *) –
- mainShape (TopoDS_Shape &) –
- bottomFace (TopoDS_Shape &) –
- bottomEdges (std::list< TopoDS_Edge> &) –
- wallFaces (std::list< TopoDS_Face> &) –
Return type:
-
Init
()¶ - /*! * rief Initialization. * param helper - helper loaded with mesh and 3D shape * param shape3D - a closed shell or solid * etval bool - false if a mesh or a shape are KO * * Analyse shape geometry and mesh. * If there are triangles on one of faces, it becomes ‘bottom’ */
Parameters: - helper (SMESH_MesherHelper *) –
- shape3D (TopoDS_Shape &) –
Return type:
-
static
IsForwardEdge
(*args) → bool¶ - /*! * rief Check curve orientation of a bootom edge * param meshDS - mesh DS * param columnsMap - node columns map of side face * param bottomEdge - the bootom edge * param sideFaceID - side face in-block ID * etval bool - true if orienation coinside with in-block froward orienation */
Parameters: - meshDS (SMESHDS_Mesh *) –
- columnsMap (TParam2ColumnMap &) –
- bottomEdge (TopoDS_Edge &) –
- sideFaceID (int) –
Return type:
-
MeshDS
()¶ -
Return type: SMESHDS_Mesh *
-
Shape
()¶ - /! * rief Return a in-block shape * param shapeID - shape given by in-block index * etval SMESHDS_SubMesh - found submesh */
Parameters: shapeID (int) – Return type: TopoDS_Shape
-
ShapeID
()¶ - /*! * rief Return in-block ID of a shape * param shape - block subshape * etval int - ID or zero if the shape has no ID */
Parameters: shape (TopoDS_Shape &) – Return type: int
-
SubMesh
()¶ - /! * rief Return submesh of a shape * param shapeID - shape given by in-block index * etval SMESH_subMesh - found submesh */
Parameters: shapeID (int) – Return type: SMESH_subMesh *
-
SubMeshDS
()¶ - /! * rief Return submesh DS of a shape * param shapeID - shape given by in-block index * etval SMESHDS_SubMesh - found submesh DS */
Parameters: shapeID (int) – Return type: SMESHDS_SubMesh *
-
VerticalSize
()¶ - /*! * rief Return number of nodes on every vertical edge * etval int - number of nodes including end nodes */
Return type: int
-
thisown
¶ The membership flag
-
-
StdMeshers_PrismAsBlock_GetWallFaces
(*args) → bool¶ - /*! * rief Find wall faces by bottom edges * param mesh - the mesh * param mainShape - the prism * param bottomFace - the bottom face * param bottomEdges - edges bounding the bottom face * param wallFaces - faces list to fill in */
Parameters: - mesh (SMESH_Mesh *) –
- mainShape (TopoDS_Shape &) –
- bottomFace (TopoDS_Shape &) –
- bottomEdges (std::list< TopoDS_Edge> &) –
- wallFaces (std::list< TopoDS_Face> &) –
Return type:
-
StdMeshers_PrismAsBlock_IsForwardEdge
(*args) → bool¶ - /*! * rief Check curve orientation of a bootom edge * param meshDS - mesh DS * param columnsMap - node columns map of side face * param bottomEdge - the bootom edge * param sideFaceID - side face in-block ID * etval bool - true if orienation coinside with in-block froward orienation */
Parameters: - meshDS (SMESHDS_Mesh *) –
- columnsMap (TParam2ColumnMap &) –
- bottomEdge (TopoDS_Edge &) –
- sideFaceID (int) –
Return type:
-
class
StdMeshers_Prism_3D
(*args)¶ Bases:
object
Parameters: Return type: -
static
AddPrisms
()¶ - /*! * rief Create prisms * param nodeColumns - columns of nodes generated from nodes of a mesh face * param helper - helper initialized by mesh and shape to add prisms to */
Parameters: - nodeColumns (std::vector< TNodeColumn *> &) –
- helper (SMESH_MesherHelper *) –
Return type: void
-
CheckHypothesis
()¶ Parameters: - aMesh (SMESH_Mesh &) –
- aShape (TopoDS_Shape &) –
- aStatus (SMESH_Hypothesis::Hypothesis_Status &) –
Return type:
-
Evaluate
()¶ Parameters: - aMesh (SMESH_Mesh &) –
- aShape (TopoDS_Shape &) –
- aResMap (MapShapeNbElems &) –
Return type:
-
ProjectTriangles
()¶ - /*! * rief Enable removal of quadrangles from the bottom face and * triangles creation there by projection from the top * (sole face meshed with triangles is considered to be a bottom one). * If there are two faces with triangles, triangles must * be of the same topology, else the algo fails. * The method must be called before Compute() */
Return type: None
-
thisown
¶ The membership flag
-
static
-
StdMeshers_Prism_3D_AddPrisms
()¶ - /*! * rief Create prisms * param nodeColumns - columns of nodes generated from nodes of a mesh face * param helper - helper initialized by mesh and shape to add prisms to */
Parameters: - nodeColumns (std::vector< TNodeColumn *> &) –
- helper (SMESH_MesherHelper *) –
Return type: void
-
class
StdMeshers_ProjectionSource1D
(*args)¶ Bases:
OCC.SMESH.SMESH_Hypothesis
Parameters: Return type: -
GetSourceEdge
()¶ -
Return type: TopoDS_Shape
-
GetSourceVertex
()¶ - /*! * Returns the vertex associated with the target vertex. * Result may be nil if association not set */
Return type: TopoDS_Vertex
-
GetStoreParams
()¶ -
Parameters: - s1 (TopoDS_Shape &) –
- s2 (TopoDS_Shape &) –
- s3 (TopoDS_Shape &) –
Return type:
-
GetTargetVertex
()¶ - /*! * Returns the vertex associated with the source vertex. * Result may be nil if association not set */
Return type: TopoDS_Vertex
-
LoadFrom
()¶ Parameters: load (std::istream &) – Return type: std::istream
-
RestoreParams
()¶ -
Parameters: - s1 (TopoDS_Shape &) –
- s2 (TopoDS_Shape &) –
- s3 (TopoDS_Shape &) –
- mesh (SMESH_Mesh *) –
Return type:
-
SaveTo
()¶ Parameters: save (std::ostream &) – Return type: std::ostream
-
SetParametersByDefaults
()¶ - /*! * rief Initialize my parameter values by default parameters. * etval bool - true if parameter values have been successfully defined */
Parameters: - dflts (SMESH_0D_Algo::TDefaults &) –
- theMesh (SMESH_Mesh *) – default value is 0
Return type:
-
SetParametersByMesh
()¶ - /*! * rief Initialize parameters by the mesh built on the geometry * param theMesh - the built mesh * param theShape - the geometry of interest * etval bool - true if parameter values have been successfully defined * * Implementation does noting */
Parameters: - theMesh (SMESH_Mesh *) –
- theShape (TopoDS_Shape &) –
Return type:
-
SetVertexAssociation
()¶ - /*! * Sets vertex association between the source edge and the target one. * This parameter is optional */
Parameters: - sourceVertex (TopoDS_Shape &) –
- targetVertex (TopoDS_Shape &) –
Return type:
-
thisown
¶ The membership flag
-
-
class
StdMeshers_ProjectionSource2D
(*args)¶ Bases:
OCC.SMESH.SMESH_Hypothesis
Parameters: Return type: -
GetSourceFace
()¶ -
Return type: TopoDS_Shape
-
GetSourceVertex
()¶ - /*! * Returns the <i>-th source vertex associated with the <i>-th target vertex. * Result may be nil if association not set. * Valid indices are 1 and 2 */
Parameters: i (int) – Return type: TopoDS_Vertex
-
GetStoreParams
()¶ -
Parameters: - s1 (TopoDS_Shape &) –
- s2 (TopoDS_Shape &) –
- s3 (TopoDS_Shape &) –
- s4 (TopoDS_Shape &) –
- s5 (TopoDS_Shape &) –
Return type:
-
GetTargetVertex
()¶ - /*! * Returns the <i>-th target vertex associated with the <i>-th source vertex. * Result may be nil if association not set. * Valid indices are 1 and 2 */
Parameters: i (int) – Return type: TopoDS_Vertex
-
LoadFrom
()¶ Parameters: load (std::istream &) – Return type: std::istream
-
RestoreParams
()¶ -
Parameters: - s1 (TopoDS_Shape &) –
- s2 (TopoDS_Shape &) –
- s3 (TopoDS_Shape &) –
- s4 (TopoDS_Shape &) –
- s5 (TopoDS_Shape &) –
- mesh (SMESH_Mesh *) –
Return type:
-
SaveTo
()¶ Parameters: save (std::ostream &) – Return type: std::ostream
-
SetParametersByDefaults
()¶ - /*! * rief Initialize my parameter values by default parameters. * etval bool - true if parameter values have been successfully defined */
Parameters: - dflts (SMESH_0D_Algo::TDefaults &) –
- theMesh (SMESH_Mesh *) – default value is 0
Return type:
-
SetParametersByMesh
()¶ - /*! * rief Initialize parameters by the mesh built on the geometry * param theMesh - the built mesh * param theShape - the geometry of interest * etval bool - true if parameter values have been successfully defined * * Implementation does noting */
Parameters: - theMesh (SMESH_Mesh *) –
- theShape (TopoDS_Shape &) –
Return type:
-
SetVertexAssociation
()¶ - /*! * Sets vertex association between the source face and the target one. * This parameter is optional. * Two vertices must belong to one edge of a face */
Parameters: - sourceVertex1 (TopoDS_Shape &) –
- sourceVertex2 (TopoDS_Shape &) –
- targetVertex1 (TopoDS_Shape &) –
- targetVertex2 (TopoDS_Shape &) –
Return type:
-
thisown
¶ The membership flag
-
-
class
StdMeshers_ProjectionSource3D
(*args)¶ Bases:
OCC.SMESH.SMESH_Hypothesis
Parameters: Return type: -
GetSource3DShape
()¶ -
Return type: TopoDS_Shape
-
GetSourceVertex
()¶ - /*! * Returns the <i>-th source vertex associated with the <i>-th target vertex. * Result may be nil if association not set. */
Parameters: i (int) – Return type: TopoDS_Vertex
-
GetStoreParams
()¶ -
Parameters: - s1 (TopoDS_Shape &) –
- s2 (TopoDS_Shape &) –
- s3 (TopoDS_Shape &) –
- s4 (TopoDS_Shape &) –
- s5 (TopoDS_Shape &) –
Return type:
-
GetTargetVertex
()¶ - /*! * Returns the <i>-th target vertex associated with the <i>-th source vertex. * Result may be nil if association not set. */
Parameters: i (int) – Return type: TopoDS_Vertex
-
LoadFrom
()¶ Parameters: load (std::istream &) – Return type: std::istream
-
RestoreParams
()¶ -
Parameters: - s1 (TopoDS_Shape &) –
- s2 (TopoDS_Shape &) –
- s3 (TopoDS_Shape &) –
- s4 (TopoDS_Shape &) –
- s5 (TopoDS_Shape &) –
- mesh (SMESH_Mesh *) –
Return type:
-
SaveTo
()¶ Parameters: save (std::ostream &) – Return type: std::ostream
-
SetParametersByDefaults
()¶ - /*! * rief Initialize my parameter values by default parameters. * etval bool - true if parameter values have been successfully defined */
Parameters: - dflts (SMESH_0D_Algo::TDefaults &) –
- theMesh (SMESH_Mesh *) – default value is 0
Return type:
-
SetParametersByMesh
()¶ - /*! * rief Initialize parameters by the mesh built on the geometry * param theMesh - the built mesh * param theShape - the geometry of interest * etval bool - true if parameter values have been successfully defined * * Implementation does noting */
Parameters: - theMesh (SMESH_Mesh *) –
- theShape (TopoDS_Shape &) –
Return type:
-
SetVertexAssociation
()¶ - /*! * Sets vertex association between the source shape and the target one. * This parameter is optional. * Two vertices must belong to one edge of a shape */
Parameters: - sourceVertex1 (TopoDS_Shape &) –
- sourceVertex2 (TopoDS_Shape &) –
- targetVertex1 (TopoDS_Shape &) –
- targetVertex2 (TopoDS_Shape &) –
Return type:
-
thisown
¶ The membership flag
-
-
class
StdMeshers_Projection_1D
(*args)¶ Bases:
object
Parameters: Return type: -
CheckHypothesis
()¶ Parameters: - aMesh (SMESH_Mesh &) –
- aShape (TopoDS_Shape &) –
- aStatus (SMESH_Hypothesis::Hypothesis_Status &) –
Return type:
-
Evaluate
()¶ Parameters: - aMesh (SMESH_Mesh &) –
- aShape (TopoDS_Shape &) –
- aResMap (MapShapeNbElems &) –
Return type:
-
SetEventListener
()¶ - /*! * rief Sets a default event listener to submesh of the source edge * param whenSetToSubMesh - submesh where algo is set * * After being set, event listener is notified on each event of a submesh. * This method is called when a submesh gets HYP_OK algo_state. * Arranges that CLEAN event is translated from source submesh to * the whenSetToSubMesh submesh. */
Parameters: whenSetToSubMesh (SMESH_subMesh *) – Return type: None
-
thisown
¶ The membership flag
-
-
class
StdMeshers_Projection_2D
(*args)¶ Bases:
object
Parameters: Return type: -
CheckHypothesis
()¶ Parameters: - aMesh (SMESH_Mesh &) –
- aShape (TopoDS_Shape &) –
- aStatus (SMESH_Hypothesis::Hypothesis_Status &) –
Return type:
-
Evaluate
()¶ Parameters: - aMesh (SMESH_Mesh &) –
- aShape (TopoDS_Shape &) –
- aResMap (MapShapeNbElems &) –
Return type:
-
SetEventListener
()¶ - /*! * rief Sets a default event listener to submesh of the source face * param whenSetToSubMesh - submesh where algo is set * * After being set, event listener is notified on each event of a submesh. * This method is called when a submesh gets HYP_OK algo_state. * Arranges that CLEAN event is translated from source submesh to * the whenSetToSubMesh submesh. */
Parameters: whenSetToSubMesh (SMESH_subMesh *) – Return type: None
-
thisown
¶ The membership flag
-
-
class
StdMeshers_Projection_3D
(*args)¶ Bases:
object
Parameters: Return type: -
CheckHypothesis
()¶ Parameters: - aMesh (SMESH_Mesh &) –
- aShape (TopoDS_Shape &) –
- aStatus (SMESH_Hypothesis::Hypothesis_Status &) –
Return type:
-
Evaluate
()¶ Parameters: - aMesh (SMESH_Mesh &) –
- aShape (TopoDS_Shape &) –
- aResMap (MapShapeNbElems &) –
Return type:
-
SetEventListener
()¶ - /*! * rief Sets a default event listener to submesh of the source shape * param whenSetToSubMesh - submesh where algo is set * * Arranges that CLEAN event is translated from source submesh to * the whenSetToSubMesh submesh. */
Parameters: whenSetToSubMesh (SMESH_subMesh *) – Return type: None
-
thisown
¶ The membership flag
-
-
class
StdMeshers_Propagation
(*args)¶ Bases:
OCC.SMESH.SMESH_Hypothesis
Parameters: Return type: -
static
GetName
()¶ Return type: std::string
-
static
GetPropagationSource
()¶ - /*! * rief Return an edge from which hypotheses are propagated * param theMesh - mesh * param theEdge - edge to which hypotheses are propagated * etval TopoDS_Edge - source edge, also passing orientation */
Parameters: - theMesh (SMESH_Mesh &) –
- theEdge (TopoDS_Shape &) –
Return type:
-
LoadFrom
()¶ Parameters: load (std::istream &) – Return type: std::istream
-
SaveTo
()¶ Parameters: save (std::ostream &) – Return type: std::ostream
-
SetParametersByDefaults
()¶ - /*! * rief Initialize my parameter values by default parameters. * etval bool - true if parameter values have been successfully defined */
Parameters: - dflts (SMESH_0D_Algo::TDefaults &) –
- theMesh (SMESH_Mesh *) – default value is 0
Return type:
-
SetParametersByMesh
()¶ - /*! * rief Initialize my parameter values by the mesh built on the geometry * param theMesh - the built mesh * param theShape - the geometry of interest * etval bool - true if parameter values have been successfully defined * * Just return false as this hypothesis does not have parameters values */
Parameters: - theMesh (SMESH_Mesh *) –
- theShape (TopoDS_Shape &) –
Return type:
-
static
SetPropagationMgr
()¶ - /*! * rief Set EventListener managing propagation of hypotheses * param subMesh - edge submesh to set event listener on * * 1D algo is expected to call this method from it’s SetEventListener() */
Parameters: subMesh (SMESH_subMesh *) – Return type: void
-
thisown
¶ The membership flag
-
static
-
StdMeshers_Propagation_GetName
()¶ Return type: std::string
-
StdMeshers_Propagation_GetPropagationSource
()¶ - /*! * rief Return an edge from which hypotheses are propagated * param theMesh - mesh * param theEdge - edge to which hypotheses are propagated * etval TopoDS_Edge - source edge, also passing orientation */
Parameters: - theMesh (SMESH_Mesh &) –
- theEdge (TopoDS_Shape &) –
Return type:
-
StdMeshers_Propagation_SetPropagationMgr
()¶ - /*! * rief Set EventListener managing propagation of hypotheses * param subMesh - edge submesh to set event listener on * * 1D algo is expected to call this method from it’s SetEventListener() */
Parameters: subMesh (SMESH_subMesh *) – Return type: void
-
class
StdMeshers_QuadToTriaAdaptor
(*args)¶ Bases:
object
Return type: None -
Compute
()¶ Parameters: - aMesh (SMESH_Mesh &) –
- aShape (TopoDS_Shape &) –
- aMesh –
Return type: Return type:
-
GetTriangles
()¶ Parameters: aFace (SMDS_MeshElement *) – Return type: std::list< SMDS_FaceOfNodes *> *
-
thisown
¶ The membership flag
-
-
class
StdMeshers_QuadrangleParams
(*args)¶ Bases:
OCC.SMESH.SMESH_Hypothesis
Parameters: Return type: -
GetObjectEntry
()¶ Return type: char *
-
LoadFrom
()¶ Parameters: load (std::istream &) – Return type: std::istream
-
SaveTo
()¶ Parameters: save (std::ostream &) – Return type: std::ostream
-
SetParametersByDefaults
()¶ - /*! * rief Initialize my parameter values by default parameters. * etval bool - true if parameter values have been successfully defined */
Parameters: - dflts (SMESH_0D_Algo::TDefaults &) –
- theMesh (SMESH_Mesh *) – default value is 0
Return type:
-
SetParametersByMesh
()¶ - /*! * rief Initialize start and end length by the mesh built on the geometry * param theMesh - the built mesh * param theShape - the geometry of interest * etval bool - true if parameter values have been successfully defined */
Parameters: - theMesh (SMESH_Mesh *) –
- theShape (TopoDS_Shape &) –
Return type:
-
thisown
¶ The membership flag
-
-
class
StdMeshers_QuadranglePreference
(*args)¶ Bases:
OCC.SMESH.SMESH_Hypothesis
Parameters: Return type: -
LoadFrom
()¶ Parameters: load (std::istream &) – Return type: std::istream
-
SaveTo
()¶ Parameters: save (std::ostream &) – Return type: std::ostream
-
SetParametersByDefaults
()¶ - /*! * rief Initialize my parameter values by default parameters. * etval bool - true if parameter values have been successfully defined */
Parameters: - dflts (SMESH_0D_Algo::TDefaults &) –
- theMesh (SMESH_Mesh *) – default value is 0
Return type:
-
SetParametersByMesh
()¶ - /*! * rief Initialize my parameter values by the mesh built on the geometry * param theMesh - the built mesh * param theShape - the geometry of interest * etval bool - true if parameter values have been successfully defined * * Just return false as this hypothesis does not have parameters values */
Parameters: - theMesh (SMESH_Mesh *) –
- theShape (TopoDS_Shape &) –
Return type:
-
thisown
¶ The membership flag
-
-
class
StdMeshers_Quadrangle_2D
(*args)¶ Bases:
object
Parameters: Return type: -
CheckAnd2Dcompute
()¶ Parameters: - aMesh (SMESH_Mesh &) –
- aShape (TopoDS_Shape &) –
- CreateQuadratic (bool) –
Return type: FaceQuadStruct *
-
CheckHypothesis
()¶ Parameters: - aMesh (SMESH_Mesh &) –
- aShape (TopoDS_Shape &) –
- aStatus (SMESH_Hypothesis::Hypothesis_Status &) –
Return type:
-
Evaluate
()¶ Parameters: - aMesh (SMESH_Mesh &) –
- aShape (TopoDS_Shape &) –
- aResMap (MapShapeNbElems &) –
Return type:
-
thisown
¶ The membership flag
-
-
class
StdMeshers_QuadraticMesh
(*args)¶ Bases:
OCC.SMESH.SMESH_Hypothesis
Parameters: Return type: -
LoadFrom
()¶ Parameters: load (std::istream &) – Return type: std::istream
-
SaveTo
()¶ Parameters: save (std::ostream &) – Return type: std::ostream
-
SetParametersByDefaults
()¶ - /*! * rief Initialize my parameter values by default parameters. * etval bool - true if parameter values have been successfully defined */
Parameters: - dflts (SMESH_0D_Algo::TDefaults &) –
- theMesh (SMESH_Mesh *) – default value is 0
Return type:
-
SetParametersByMesh
()¶ - /*! * rief Initialize my parameter values by the mesh built on the geometry * param theMesh - the built mesh * param theShape - the geometry of interest * etval bool - true if parameter values have been successfully defined * * Just return false as this hypothesis does not have parameters values */
Parameters: - theMesh (SMESH_Mesh *) –
- theShape (TopoDS_Shape &) –
Return type:
-
thisown
¶ The membership flag
-
-
class
StdMeshers_RadialPrism_3D
(*args)¶ Bases:
object
Parameters: Return type: -
CheckHypothesis
()¶ Parameters: - aMesh (SMESH_Mesh &) –
- aShape (TopoDS_Shape &) –
- aStatus (SMESH_Hypothesis::Hypothesis_Status &) –
Return type:
-
Evaluate
()¶ Parameters: - aMesh (SMESH_Mesh &) –
- aShape (TopoDS_Shape &) –
- aResMap (MapShapeNbElems &) –
Return type:
-
thisown
¶ The membership flag
-
-
class
StdMeshers_RadialQuadrangle_1D2D
(*args)¶ Bases:
object
Parameters: Return type: -
CheckHypothesis
()¶ Parameters: - aMesh (SMESH_Mesh &) –
- aShape (TopoDS_Shape &) –
- aStatus (SMESH_Hypothesis::Hypothesis_Status &) –
Return type:
-
Evaluate
()¶ Parameters: - aMesh (SMESH_Mesh &) –
- aShape (TopoDS_Shape &) –
- aResMap (MapShapeNbElems &) –
Return type:
-
SubmeshRestored
()¶ - /*! * rief Allow algo to do something after persistent restoration * param subMesh - restored submesh * * This method is called only if a submesh has HYP_OK algo_state. */
Parameters: subMesh (SMESH_subMesh *) – Return type: None
-
thisown
¶ The membership flag
-
-
class
StdMeshers_Regular_1D
(*args)¶ Bases:
object
Parameters: Return type: -
CheckHypothesis
()¶ Parameters: - aMesh (SMESH_Mesh &) –
- aShape (TopoDS_Shape &) –
- aStatus (SMESH_Hypothesis::Hypothesis_Status &) –
Return type:
-
Evaluate
()¶ Parameters: - aMesh (SMESH_Mesh &) –
- aShape (TopoDS_Shape &) –
- aResMap (MapShapeNbElems &) –
Return type:
-
GetUsedHypothesis
()¶ Parameters: - aMesh (SMESH_Mesh &) –
- aShape (TopoDS_Shape &) –
- bool – default value is true
Return type: std::list< SMESHDS_Hypothesis *>
-
SetEventListener
()¶ - /*! * rief Sets event listener to submeshes if necessary * param subMesh - submesh where algo is set * * This method is called when a submesh gets HYP_OK algo_state. * After being set, event listener is notified on each event of a submesh. */
Parameters: subMesh (SMESH_subMesh *) – Return type: None
-
SubmeshRestored
()¶ - /*! * rief Allow algo to do something after persistent restoration * param subMesh - restored submesh * * This method is called only if a submesh has HYP_OK algo_state. */
Parameters: subMesh (SMESH_subMesh *) – Return type: None
-
thisown
¶ The membership flag
-
-
class
StdMeshers_SegmentAroundVertex_0D
(*args)¶ Bases:
object
Parameters: Return type: -
CheckHypothesis
()¶ Parameters: - aMesh (SMESH_Mesh &) –
- aShape (TopoDS_Shape &) –
- aStatus (SMESH_Hypothesis::Hypothesis_Status &) –
Return type:
-
Evaluate
()¶ Parameters: - aMesh (SMESH_Mesh &) –
- aShape (TopoDS_Shape &) –
- aResMap (MapShapeNbElems &) –
Return type:
-
thisown
¶ The membership flag
-
-
class
StdMeshers_SegmentLengthAroundVertex
(*args)¶ Bases:
OCC.SMESH.SMESH_Hypothesis
Parameters: Return type: -
GetLength
()¶ Return type: double
-
LoadFrom
()¶ Parameters: load (std::istream &) – Return type: std::istream
-
SaveTo
()¶ Parameters: save (std::ostream &) – Return type: std::ostream
-
SetParametersByDefaults
()¶ - /*! * rief Initialize my parameter values by default parameters. * etval bool - true if parameter values have been successfully defined */
Parameters: - dflts (SMESH_0D_Algo::TDefaults &) –
- theMesh (SMESH_Mesh *) – default value is 0
Return type:
-
SetParametersByMesh
()¶ - /*! * rief Initialize segment length by the mesh built on the geometry * param theMesh - the built mesh * param theShape - the geometry of interest * etval bool - true if parameter values have been successfully defined */
Parameters: - theMesh (SMESH_Mesh *) –
- theShape (TopoDS_Shape &) –
Return type:
-
thisown
¶ The membership flag
-
-
class
StdMeshers_StartEndLength
(*args)¶ Bases:
OCC.SMESH.SMESH_Hypothesis
Parameters: Return type: -
GetObjectEntry
()¶ Return type: char *
-
GetReversedEdges
()¶ Return type: std::vector<int>
-
LoadFrom
()¶ Parameters: load (std::istream &) – Return type: std::istream
-
SaveTo
()¶ Parameters: save (std::ostream &) – Return type: std::ostream
-
SetParametersByDefaults
()¶ - /*! * rief Initialize my parameter values by default parameters. * etval bool - true if parameter values have been successfully defined */
Parameters: - dflts (SMESH_0D_Algo::TDefaults &) –
- theMesh (SMESH_Mesh *) – default value is 0
Return type:
-
SetParametersByMesh
()¶ - /*! * rief Initialize start and end length by the mesh built on the geometry * param theMesh - the built mesh * param theShape - the geometry of interest * etval bool - true if parameter values have been successfully defined */
Parameters: - theMesh (SMESH_Mesh *) –
- theShape (TopoDS_Shape &) –
Return type:
-
thisown
¶ The membership flag
-
-
class
StdMeshers_TrianglePreference
(*args)¶ Bases:
OCC.SMESH.SMESH_Hypothesis
Parameters: Return type: -
LoadFrom
()¶ Parameters: load (std::istream &) – Return type: std::istream
-
SaveTo
()¶ Parameters: save (std::ostream &) – Return type: std::ostream
-
SetParametersByDefaults
()¶ - /*! * rief Initialize my parameter values by default parameters. * etval bool - true if parameter values have been successfully defined */
Parameters: - dflts (SMESH_0D_Algo::TDefaults &) –
- theMesh (SMESH_Mesh *) – default value is 0
Return type:
-
SetParametersByMesh
()¶ - /*! * rief Initialize my parameter values by the mesh built on the geometry * param theMesh - the built mesh * param theShape - the geometry of interest * etval bool - true if parameter values have been successfully defined * * Just return false as this hypothesis does not have parameters values */
Parameters: - theMesh (SMESH_Mesh *) –
- theShape (TopoDS_Shape &) –
Return type:
-
thisown
¶ The membership flag
-
-
class
StdMeshers_UseExisting_1D
(*args)¶ Bases:
object
Parameters: Return type: -
CheckHypothesis
()¶ Parameters: - aMesh (SMESH_Mesh &) –
- aShape (TopoDS_Shape &) –
- aStatus (SMESH_Hypothesis::Hypothesis_Status &) –
Return type:
-
Evaluate
()¶ Parameters: - aMesh (SMESH_Mesh &) –
- aShape (TopoDS_Shape &) –
- aResMap (MapShapeNbElems &) –
Return type:
-
thisown
¶ The membership flag
-
-
class
StdMeshers_UseExisting_2D
(*args)¶ Bases:
object
Parameters: Return type: -
CheckHypothesis
()¶ Parameters: - aMesh (SMESH_Mesh &) –
- aShape (TopoDS_Shape &) –
- aStatus (SMESH_Hypothesis::Hypothesis_Status &) –
Return type:
-
Evaluate
()¶ Parameters: - aMesh (SMESH_Mesh &) –
- aShape (TopoDS_Shape &) –
- aResMap (MapShapeNbElems &) –
Return type:
-
thisown
¶ The membership flag
-
-
class
SwigPyIterator
(*args, **kwargs)¶ Bases:
object
-
advance
()¶
-
copy
()¶
-
decr
()¶
-
distance
()¶
-
equal
()¶
-
incr
()¶
-
next
()¶
-
previous
()¶
-
thisown
¶ The membership flag
-
value
()¶
-
-
new_instancemethod
(func, inst, cls)¶
-
register_handle
(handle, base_object)¶ Inserts the handle into the base object to prevent memory corruption in certain cases