OCC.ShapeExtend module¶
This package provides general tools and data structures commonfor other packages in SHAPEWORKS and extending CAS.CADEstructures.The following items are provided by this package:- enumeration Status used for coding status flags in methodsinside the SHAPEWORKS- enumeration Parametrisation used for setting global parametrisationon the composite surface- class CompositeSurface representing a composite surfacemade of a grid of surface patches- class WireData representing a wire in the form of orderedlist of edges- class MsgRegistrator for attaching messages to the objects- tools for exploring the shapes- tools for creating new shapes.
-
class
Handle_ShapeExtend_BasicMsgRegistrator
(*args)¶ Bases:
OCC.MMgt.Handle_MMgt_TShared
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_ShapeExtend_ComplexCurve
(*args)¶ Bases:
OCC.Geom.Handle_Geom_Curve
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_ShapeExtend_CompositeSurface
(*args)¶ Bases:
OCC.Geom.Handle_Geom_Surface
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_ShapeExtend_DataMapNodeOfDataMapOfShapeListOfMsg
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_MapNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_ShapeExtend_DataMapNodeOfDataMapOfTransientListOfMsg
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_MapNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_ShapeExtend_MsgRegistrator
(*args)¶ Bases:
OCC.ShapeExtend.Handle_ShapeExtend_BasicMsgRegistrator
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_ShapeExtend_WireData
(*args)¶ Bases:
OCC.MMgt.Handle_MMgt_TShared
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
ShapeExtend_BasicMsgRegistrator
(*args)¶ Bases:
OCC.MMgt.MMgt_TShared
- Empty constructor.
Return type: None -
GetHandle
()¶
-
Send
()¶ - Sends a message to be attached to the object. Object can be of any type interpreted by redefined MsgRegistrator.
Parameters: - object (Handle_Standard_Transient &) –
- message (Message_Msg &) –
- gravity (Message_Gravity) –
Return type: void
- Sends a message to be attached to the shape.
Parameters: - shape (TopoDS_Shape &) –
- message (Message_Msg &) –
- gravity (Message_Gravity) –
Return type: void
- Calls Send method with Null Transient.
Parameters: - message (Message_Msg &) –
- gravity (Message_Gravity) –
Return type: void
-
thisown
¶ The membership flag
-
class
ShapeExtend_ComplexCurve
(*args, **kwargs)¶ Bases:
OCC.Geom.Geom_Curve
-
CheckConnectivity
()¶ - Checks geometrical connectivity of the curves, including closure (sets fields myClosed)
Parameters: Preci (float) – Return type: bool
-
Curve
()¶ - Returns curve given by its index
Parameters: index (int) – Return type: Handle_Geom_Curve
-
GetHandle
()¶
-
GetScaleFactor
()¶ - Returns scale factor for recomputing of deviatives.
Parameters: ind (int) – Return type: float
-
LocalToGlobal
()¶ - Returns global parameter for the whole curve according to the segment and local parameter on it
Parameters: Return type:
-
LocateParameter
()¶ - Returns number of the curve for the given parameter U and local paramete r UOut for the found curve
Parameters: - U (float) –
- UOut (float &) –
Return type:
-
thisown
¶ The membership flag
-
-
class
ShapeExtend_CompositeSurface
(*args)¶ Bases:
OCC.Geom.Geom_Surface
- Empty constructor.
Return type: None - Initializes by a grid of surfaces (calls Init()).
Parameters: - GridSurf (Handle_TColGeom_HArray2OfSurface &) –
- param (ShapeExtend_Parametrisation) – default value is ShapeExtend_Natural
Return type: - Initializes by a grid of surfaces (calls Init()).
Parameters: - GridSurf (Handle_TColGeom_HArray2OfSurface &) –
- UJoints (TColStd_Array1OfReal &) –
- VJoints (TColStd_Array1OfReal &) –
Return type: -
CheckConnectivity
()¶ - Checks geometrical connectivity of the patches, including closedness (sets fields muUClosed and myVClosed)
Parameters: prec (float) – Return type: bool
-
ComputeJointValues
()¶ - Computes Joint values according to parameter
Parameters: param (ShapeExtend_Parametrisation) – default value is ShapeExtend_Natural Return type: None
-
GetHandle
()¶
-
GlobalToLocal
()¶ - Converts global parameters UV to local parameters uv on patch i,j
Parameters: Return type:
-
GlobalToLocalTransformation
()¶ - Computes transformation operator and uFactor descrinbing affine transformation required to convert global parameters on composite surface to local parameters on patch (i,j): uv = ( uFactor, 1. ) X Trsf * UV; NOTE: Thus Trsf contains shift and scale by V, scale by U is stored in uFact. Returns True if transformation is not an identity
Parameters: Return type:
-
Init
()¶ - Initializes by a grid of surfaces. All the Surfaces of the grid must have geometrical connectivity as stated above. If geometrical connectivity is not satisfied, method returns False. However, class is initialized even in that case. //! Last parameter defines how global parametrisation (joint values) will be computed: ShapeExtend_Natural: U1 = u11min, Ui+1 = Ui + (ui1max-ui1min), etc. ShapeExtend_Uniform: Ui = i-1, Vj = j-1 ShapeExtend_Unitary: Ui = (i-1)/Nu, Vi = (j-1)/Nv
Parameters: - GridSurf (Handle_TColGeom_HArray2OfSurface &) –
- param (ShapeExtend_Parametrisation) – default value is ShapeExtend_Natural
Return type: - Initializes by a grid of surfaces with given global parametrisation defined by UJoints and VJoints arrays, each having langth equal to number of patches in corresponding direction + 1. Global joint values should be sorted in increasing order. All the Surfaces of the grid must have geometrical connectivity as stated above. If geometrical connectivity is not satisfied, method returns False. However, class is initialized even in that case.
Parameters: - GridSurf (Handle_TColGeom_HArray2OfSurface &) –
- UJoints (TColStd_Array1OfReal &) –
- VJoints (TColStd_Array1OfReal &) –
Return type:
-
LocalToGlobal
()¶ - Converts local parameters uv on patch i,j to global parameters UV
Parameters: Return type:
-
LocateUParameter
()¶ - Returns number of col that contains given (global) parameter
Parameters: U (float) – Return type: int
-
LocateUVPoint
()¶ - Returns number of row and col of surface that contains given point
Parameters: - pnt (gp_Pnt2d) –
- i (int &) –
- j (int &) –
Return type:
-
LocateVParameter
()¶ - Returns number of row that contains given (global) parameter
Parameters: V (float) – Return type: int
-
Patch
()¶ - Returns one surface patch
Parameters: Return type: - Returns one surface patch that contains given (global) parameters
Parameters: Return type: - Returns one surface patch that contains given point
Parameters: pnt (gp_Pnt2d) – Return type: Handle_Geom_Surface
-
Patches
()¶ - Returns grid of surfaces
Return type: Handle_TColGeom_HArray2OfSurface
-
SetUFirstValue
()¶ - Changes starting value for global U parametrisation (all other joint values are shifted accordingly)
Parameters: UFirst (float) – Return type: None
-
SetUJointValues
()¶ - Sets the array of U values corresponding to joint points, which define global parametrisation of the surface. Number of values in array should be equal to NbUPatches()+1. All the values should be sorted in increasing order. If this is not satisfied, does nothing and returns False.
Parameters: UJoints (TColStd_Array1OfReal &) – Return type: bool
-
SetVFirstValue
()¶ - Changes starting value for global V parametrisation (all other joint values are shifted accordingly)
Parameters: VFirst (float) – Return type: None
-
SetVJointValues
()¶ - Sets the array of V values corresponding to joint points, which define global parametrisation of the surface Number of values in array should be equal to NbVPatches()+1. All the values should be sorted in increasing order. If this is not satisfied, does nothing and returns False.
Parameters: VJoints (TColStd_Array1OfReal &) – Return type: bool
-
UGlobalToLocal
()¶ - Converts global parameter U to local parameter u on patch i,j
Parameters: Return type:
-
UJointValue
()¶ - Returns i-th joint value in U direction (1-st is global Umin, (NbUPatches()+1)-th is global Umax on the composite surface)
Parameters: i (int) – Return type: float
-
UJointValues
()¶ - Returns the array of U values corresponding to joint points between patches as well as to start and end points, which define global parametrisation of the surface
Return type: Handle_TColStd_HArray1OfReal
-
ULocalToGlobal
()¶ - Converts local parameter u on patch i,j to global parameter U
Parameters: Return type:
-
VGlobalToLocal
()¶ - Converts global parameter V to local parameter v on patch i,j
Parameters: Return type:
-
VJointValue
()¶ - Returns j-th joint value in V direction (1-st is global Vmin, (NbVPatches()+1)-th is global Vmax on the composite surface)
Parameters: j (int) – Return type: float
-
VJointValues
()¶ - Returns the array of V values corresponding to joint points between patches as well as to start and end points, which define global parametrisation of the surface
Return type: Handle_TColStd_HArray1OfReal
-
VLocalToGlobal
()¶ - Converts local parameter v on patch i,j to global parameter V
Parameters: Return type:
-
Value
()¶ - Computes the point of parameter pnt on the grid.
Parameters: pnt (gp_Pnt2d) – Return type: gp_Pnt
-
thisown
¶ The membership flag
-
class
ShapeExtend_DataMapIteratorOfDataMapOfShapeListOfMsg
(*args)¶ Bases:
OCC.TCollection.TCollection_BasicMapIterator
Return type: None Parameters: aMap (ShapeExtend_DataMapOfShapeListOfMsg &) – Return type: None -
Key
()¶ Return type: TopoDS_Shape
-
Value
()¶ Return type: Message_ListOfMsg
-
thisown
¶ The membership flag
-
-
class
ShapeExtend_DataMapIteratorOfDataMapOfTransientListOfMsg
(*args)¶ Bases:
OCC.TCollection.TCollection_BasicMapIterator
Return type: None Parameters: aMap (ShapeExtend_DataMapOfTransientListOfMsg &) – Return type: None -
Key
()¶ Return type: Handle_Standard_Transient
-
Value
()¶ Return type: Message_ListOfMsg
-
thisown
¶ The membership flag
-
-
class
ShapeExtend_DataMapNodeOfDataMapOfShapeListOfMsg
(*args)¶ Bases:
OCC.TCollection.TCollection_MapNode
Parameters: - K (TopoDS_Shape &) –
- I (Message_ListOfMsg &) –
- n (TCollection_MapNodePtr &) –
Return type: -
GetHandle
()¶
-
Key
()¶ Return type: TopoDS_Shape
-
Value
()¶ Return type: Message_ListOfMsg
-
thisown
¶ The membership flag
-
class
ShapeExtend_DataMapNodeOfDataMapOfTransientListOfMsg
(*args)¶ Bases:
OCC.TCollection.TCollection_MapNode
Parameters: - K (Handle_Standard_Transient &) –
- I (Message_ListOfMsg &) –
- n (TCollection_MapNodePtr &) –
Return type: -
GetHandle
()¶
-
Key
()¶ Return type: Handle_Standard_Transient
-
Value
()¶ Return type: Message_ListOfMsg
-
thisown
¶ The membership flag
-
class
ShapeExtend_DataMapOfShapeListOfMsg
(*args)¶ Bases:
OCC.TCollection.TCollection_BasicMap
Parameters: NbBuckets (int) – default value is 1 Return type: None -
Assign
()¶ Parameters: Other (ShapeExtend_DataMapOfShapeListOfMsg &) – Return type: ShapeExtend_DataMapOfShapeListOfMsg
-
ChangeFind
()¶ Parameters: K (TopoDS_Shape &) – Return type: Message_ListOfMsg
-
ChangeFind1
()¶ Parameters: K (TopoDS_Shape &) – Return type: Standard_Address
-
Find
()¶ Parameters: K (TopoDS_Shape &) – Return type: Message_ListOfMsg
-
Find1
()¶ Parameters: K (TopoDS_Shape &) – Return type: Standard_Address
-
Set
()¶ Parameters: Other (ShapeExtend_DataMapOfShapeListOfMsg &) – Return type: ShapeExtend_DataMapOfShapeListOfMsg
-
thisown
¶ The membership flag
-
-
class
ShapeExtend_DataMapOfTransientListOfMsg
(*args)¶ Bases:
OCC.TCollection.TCollection_BasicMap
Parameters: NbBuckets (int) – default value is 1 Return type: None -
Assign
()¶ Parameters: Other (ShapeExtend_DataMapOfTransientListOfMsg &) – Return type: ShapeExtend_DataMapOfTransientListOfMsg
-
ChangeFind
()¶ Parameters: K (Handle_Standard_Transient &) – Return type: Message_ListOfMsg
-
ChangeFind1
()¶ Parameters: K (Handle_Standard_Transient &) – Return type: Standard_Address
-
Find
()¶ Parameters: K (Handle_Standard_Transient &) – Return type: Message_ListOfMsg
-
Find1
()¶ Parameters: K (Handle_Standard_Transient &) – Return type: Standard_Address
-
Set
()¶ Parameters: Other (ShapeExtend_DataMapOfTransientListOfMsg &) – Return type: ShapeExtend_DataMapOfTransientListOfMsg
-
thisown
¶ The membership flag
-
-
class
ShapeExtend_Explorer
(*args)¶ Bases:
object
- Creates an object Explorer
Return type: None -
CompoundFromSeq
()¶ - Converts a sequence of Shapes to a Compound
Parameters: seqval (Handle_TopTools_HSequenceOfShape &) – Return type: TopoDS_Shape
-
DispatchList
()¶ - Dispatches starting list of shapes according to their type, to the appropriate resulting lists For each of these lists, if it is null, it is firstly created else, new items are appended to the already existing ones
Parameters: - list (Handle_TopTools_HSequenceOfShape &) –
- vertices (Handle_TopTools_HSequenceOfShape &) –
- edges (Handle_TopTools_HSequenceOfShape &) –
- wires (Handle_TopTools_HSequenceOfShape &) –
- faces (Handle_TopTools_HSequenceOfShape &) –
- shells (Handle_TopTools_HSequenceOfShape &) –
- solids (Handle_TopTools_HSequenceOfShape &) –
- compsols (Handle_TopTools_HSequenceOfShape &) –
- compounds (Handle_TopTools_HSequenceOfShape &) –
Return type:
-
ListFromSeq
()¶ - Converts a Sequence of Shapes to a List of Shapes <clear> if True (D), commands the list to start from scratch else, the list is cumulated
Parameters: - seqval (Handle_TopTools_HSequenceOfShape &) –
- lisval (TopTools_ListOfShape &) –
- clear (bool) – default value is Standard_True
Return type:
-
SeqFromCompound
()¶ - Converts a Compound to a list of Shapes if <comp> is not a compound, the list contains only <comp> if <comp> is Null, the list is empty if <comp> is a Compound, its sub-shapes are put into the list then if <expcomp> is True, if a sub-shape is a Compound, it is not put to the list but its sub-shapes are (recursive)
Parameters: - comp (TopoDS_Shape &) –
- expcomp (bool) –
Return type:
-
SeqFromList
()¶ - Converts a List of Shapes to a Sequence of Shapes
Parameters: lisval (TopTools_ListOfShape &) – Return type: Handle_TopTools_HSequenceOfShape
-
ShapeType
()¶ - Returns the type of a Shape: true type if <compound> is False If <compound> is True and <shape> is a Compound, iterates on its items. If all are of the same type, returns this type. Else, returns COMPOUND. If it is empty, returns SHAPE For a Null Shape, returns SHAPE
Parameters: - shape (TopoDS_Shape &) –
- compound (bool) –
Return type: TopAbs_ShapeEnum
-
SortedCompound
()¶ - Builds a COMPOUND from the given shape. It explores the shape level by level, according to the <explore> argument. If <explore> is False, only COMPOUND items are explored, else all items are. The following shapes are added to resulting compound: - shapes which comply to <type> - if <type> is WIRE, considers also free edges (and makes wires) - if <type> is SHELL, considers also free faces (and makes shells) If <compound> is True, gathers items in compounds which correspond to starting COMPOUND,SOLID or SHELL containers, or items directly contained in a Compound
Parameters: Return type:
-
thisown
¶ The membership flag
-
class
ShapeExtend_MsgRegistrator
(*args)¶ Bases:
OCC.ShapeExtend.ShapeExtend_BasicMsgRegistrator
- Creates an object.
Return type: None -
GetHandle
()¶
-
MapShape
()¶ - Returns a Map of shapes and message list
Return type: ShapeExtend_DataMapOfShapeListOfMsg
-
MapTransient
()¶ - Returns a Map of objects and message list
Return type: ShapeExtend_DataMapOfTransientListOfMsg
-
Send
()¶ - Sends a message to be attached to the object. If the object is in the map then the message is added to the list, otherwise the object is firstly added to the map.
Parameters: - object (Handle_Standard_Transient &) –
- message (Message_Msg &) –
- gravity (Message_Gravity) –
Return type: void
- Sends a message to be attached to the shape. If the shape is in the map then the message is added to the list, otherwise the shape is firstly added to the map.
Parameters: - shape (TopoDS_Shape &) –
- message (Message_Msg &) –
- gravity (Message_Gravity) –
Return type: void
-
thisown
¶ The membership flag
-
class
ShapeExtend_WireData
(*args)¶ Bases:
OCC.MMgt.MMgt_TShared
- Empty constructor, creates empty wire with no edges
Return type: None - Constructor initializing the data from TopoDS_Wire. Calls Init(wire,chained).
Parameters: Return type: -
Add
()¶ - Adds an edge to a wire, being defined (not yet ended) This is the plain, basic, function to add an edge <num> = 0 (D): Appends at end <num> = 1: Preprends at start else, Insert before <num> Remark : Null Edge is simply ignored
Parameters: - edge (TopoDS_Edge &) –
- atnum (int) – default value is 0
Return type: - Adds an entire wire, considered as a list of edges Remark : The wire is assumed to be ordered (TopoDS_Iterator is used)
Parameters: - wire (TopoDS_Wire &) –
- atnum (int) – default value is 0
Return type: - Adds a wire in the form of WireData
Parameters: - wire (Handle_ShapeExtend_WireData &) –
- atnum (int) – default value is 0
Return type: - Adds an edge or a wire invoking corresponding method Add
Parameters: - shape (TopoDS_Shape &) –
- atnum (int) – default value is 0
Return type:
-
AddOriented
()¶ - Adds an edge to start or end of <self>, according to <mode> 0: at end, as direct 1: at end, as reversed 2: at start, as direct 3: at start, as reversed < 0: no adding
Parameters: - edge (TopoDS_Edge &) –
- mode (int) –
Return type: - Adds a wire to start or end of <self>, according to <mode> 0: at end, as direct 1: at end, as reversed 2: at start, as direct 3: at start, as reversed < 0: no adding
Parameters: - wire (TopoDS_Wire &) –
- mode (int) –
Return type: - Adds an edge or a wire invoking corresponding method AddOriented
Parameters: - shape (TopoDS_Shape &) –
- mode (int) –
Return type:
-
ComputeSeams
()¶ - Computes the list of seam edges By default (direct call), computing is enforced For indirect call (from IsSeam) it is redone only if not yet already done or if the list of edges has changed Remark : A Seam Edge is an Edge present twice in the list, once as FORWARD and once as REVERSED Each sense has its own PCurve, the one for FORWARD must be set in first
Parameters: enforce (bool) – default value is Standard_True Return type: None
-
Edge
()¶ - Returns <num>th Edge
Parameters: num (int) – Return type: TopoDS_Edge
-
GetHandle
()¶
-
GetManifoldMode
()¶ ShapeExtend_WireData_GetManifoldMode(ShapeExtend_WireData self) -> Standard_Boolean
-
Index
()¶ - Returns the index of the edge If the edge is a seam the orientation is also checked Returns 0 if the edge is not found in the list
Parameters: edge (TopoDS_Edge &) – Return type: int
-
Init
()¶ - Copies data from another WireData
Parameters: other (Handle_ShapeExtend_WireData &) – Return type: None - Loads an already existing wire If <chained> is True (default), edges are added in the sequence as they are explored by TopoDS_Iterator Else, if <chained> is False, wire is explored by BRepTools_WireExplorer and it is guaranteed that edges will be sequencially connected. Remark : In the latter case it can happen that not all edges will be found (because of limitations of BRepTools_WireExplorer for disconnected wires and wires with seam edges).
Parameters: Return type:
-
IsSeam
()¶ - Tells if an Edge is seam (see ComputeSeams) An edge is considered as seam if it presents twice in the edge list, once as FORWARD and once as REVERSED.
Parameters: num (int) – Return type: bool
-
NonmanifoldEdge
()¶ - Returns <num>th nonmanifold Edge
Parameters: num (int) – Return type: TopoDS_Edge
-
NonmanifoldEdges
()¶ - Returns sequence of non-manifold edges This sequence can be not empty if wire data set in manifold mode but initial wire has INTERNAL orientation or contains INTERNAL edges
Return type: Handle_TopTools_HSequenceOfShape
-
Remove
()¶ - Removes an Edge, given its rank. By default removes the last edge.
Parameters: num (int) – default value is 0 Return type: None
-
Reverse
()¶ - Reverses the sense of the list and the orientation of each Edge This method should be called when either wire has no seam edges or face is not available
Return type: None - Reverses the sense of the list and the orientation of each Edge The face is necessary for swapping pcurves for seam edges (first pcurve corresponds to orientation FORWARD, and second to REVERSED; when edge is reversed, pcurves must be swapped) If face is NULL, no swapping is performed
Parameters: face (TopoDS_Face &) – Return type: None
-
Set
()¶ - Replaces an edge at the given rank number <num> with new one. Default is last edge (<num> = 0).
Parameters: - edge (TopoDS_Edge &) –
- num (int) – default value is 0
Return type:
-
SetDegeneratedLast
()¶ - When the wire contains at least one degenerated edge, sets it as last one Note : It is useful to process pcurves, for instance, while the pcurve of a DGNR may not be computed from its 3D part (there is none) it is computed after the other edges have been computed and chained.
Return type: None
-
SetLast
()¶ - Does a circular permutation in order to set <num>th edge last
Parameters: num (int) – Return type: None
-
SetManifoldMode
()¶ ShapeExtend_WireData_SetManifoldMode(ShapeExtend_WireData self, Standard_Boolean value)
-
Wire
()¶ - Makes TopoDS_Wire using BRep_Builder (just creates the TopoDS_Wire object and adds all edges into it). This method should be called when the wire is correct (for example, after successful fixes by ShapeFix_Wire) and adjacent edges share common vertices. In case if adjacent edges do not share the same vertices the resulting TopoDS_Wire will be invalid.
Return type: TopoDS_Wire
-
WireAPIMake
()¶ - Makes TopoDS_Wire using BRepAPI_MakeWire. Class BRepAPI_MakeWire merges geometrically coincided vertices and can disturb correct order of edges in the wire. If this class fails, null shape is returned.
Return type: TopoDS_Wire
-
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
-
class
shapeextend
¶ Bases:
object
-
static
DecodeStatus
()¶ - Tells if a bit flag contains bit corresponding to enumerated status
Parameters: - flag (int) –
- status (ShapeExtend_Status) –
Return type:
-
static
EncodeStatus
()¶ - Encodes status (enumeration) to a bit flag
Parameters: status (ShapeExtend_Status) – Return type: int
-
static
Init
()¶ - Inits using of ShapeExtend. Currently, loads messages output by ShapeHealing algorithms.
Return type: void
-
thisown
¶ The membership flag
-
static
-
shapeextend_DecodeStatus
()¶ - Tells if a bit flag contains bit corresponding to enumerated status
Parameters: - flag (int) –
- status (ShapeExtend_Status) –
Return type:
-
shapeextend_EncodeStatus
()¶ - Encodes status (enumeration) to a bit flag
Parameters: status (ShapeExtend_Status) – Return type: int
-
shapeextend_Init
()¶ - Inits using of ShapeExtend. Currently, loads messages output by ShapeHealing algorithms.
Return type: void