Version: 9.12.0
GEOM::GEOM_IHealingOperations Interface Reference

Interface for shape healing operations. More...

import"GEOM_Gen.idl";

Inheritance diagram for GEOM::GEOM_IHealingOperations:
Inheritance graph

Public Member Functions

GEOM_Object ProcessShape (in GEOM_Object theShapes, in string_array theOperators, in string_array theParameters, in string_array theValues)
 Apply a sequence of Shape Healing operators to the given object. More...
 
void GetShapeProcessParameters (out string_array theOperators, out string_array theParameters, out string_array theValues)
 Get default sequence of operators, their parameters and parameters' values of Shape Process operation. More...
 
void GetOperatorParameters (in string theOperator, out string_array theParameters, out string_array theValues)
 Get parameters and parameters' values for the given Shape Process operation. More...
 
GEOM_Object SuppressFaces (in GEOM_Object theObject, in short_array theFaces)
 Remove faces from the given object (shape). More...
 
GEOM_Object CloseContour (in GEOM_Object theObject, in short_array theWires, in boolean isCommonVertex)
 Close an open wire. More...
 
GEOM_Object RemoveIntWires (in GEOM_Object theObject, in short_array theWires)
 Remove internal wires and edges from the given object (face). More...
 
GEOM_Object FillHoles (in GEOM_Object theObject, in short_array theWires)
 Remove internal closed contours (holes) from the given object. More...
 
GEOM_Object Sew (in ListOfGO theObjects, in double theTolerance)
 
GEOM_Object SewAllowNonManifold (in ListOfGO theObjects, in double theTolerance)
 
GEOM_Object RemoveInternalFaces (in ListOfGO theSolids)
 
GEOM_Object DivideEdge (in GEOM_Object theObject, in short theEdgeIndex, in double theValue, in boolean isByParameter)
 Addition of a point to a given edge of theObject. More...
 
GEOM_Object DivideEdgeByPoint (in GEOM_Object theObject, in short theEdgeIndex, in ListOfGO thePoints)
 Addition of points to a given edge of theObject by projecting other points to the given edge. More...
 
GEOM_Object FuseCollinearEdgesWithinWire (in GEOM_Object theWire, in ListOfGO theVertices)
 Suppress the vertices in the wire in case if adjacent edges are C1 continuous. More...
 
boolean GetFreeBoundary (in ListOfGO theObjects, out ListOfGO theClosedWires, out ListOfGO theOpenWires)
 Get a list of wires (wrapped in GEOM_Object-s), that constitute a free boundary of the given shapes. More...
 
GEOM_Object ChangeOrientation (in GEOM_Object theObject)
 Change orientation of the given object. More...
 
GEOM_Object ChangeOrientationCopy (in GEOM_Object theObject)
 
GEOM_Object LimitTolerance (in GEOM_Object theObject, in double theTolerance)
 Try to limit tolerance of the given object by value theTolerance. More...
 
ModifStatistics GetStatistics ()
 Return information on what has been done by the last called healing method. More...
 
- Public Member Functions inherited from GEOM::GEOM_IOperations
boolean IsDone ()
 To know, if the operation was successfully performed. More...
 
void SetErrorCode (in string theErrorID)
 Set the operation error code. More...
 
string GetErrorCode ()
 Get the operation error code. More...
 
void StartOperation ()
 Opens a new transaction. More...
 
void FinishOperation ()
 Closes the previously opened transaction. More...
 
void AbortOperation ()
 Aborts the previously opened transaction. More...
 

Detailed Description

Shape Processing, SuppressFaces, etc.

Member Function Documentation

◆ ChangeOrientation()

GEOM_Object GEOM::GEOM_IHealingOperations::ChangeOrientation ( in GEOM_Object  theObject)
Parameters
theObjectShape to be processed.
Returns
New GEOM_Object, containing processed shape.

◆ ChangeOrientationCopy()

GEOM_Object GEOM::GEOM_IHealingOperations::ChangeOrientationCopy ( in GEOM_Object  theObject)

◆ CloseContour()

GEOM_Object GEOM::GEOM_IHealingOperations::CloseContour ( in GEOM_Object  theObject,
in short_array  theWires,
in boolean  isCommonVertex 
)
Parameters
theObjectShape to be processed.
theWiresIndexes of edge(s) and wire(s) to be closed within theObject's shape, if -1, then theObject itself is a wire.
isCommonVertexIf TRUE : closure by creation of a common vertex, If FALS : closure by creation of an edge between ends.
Returns
New GEOM_Object, containing processed shape.

◆ DivideEdge()

GEOM_Object GEOM::GEOM_IHealingOperations::DivideEdge ( in GEOM_Object  theObject,
in short  theEdgeIndex,
in double  theValue,
in boolean  isByParameter 
)
Parameters
theObjectShape to be processed.
theEdgeIndexIndex of edge to be divided within theObject's shape, if -1, then theObject itself is the edge.
theValueValue of parameter on edge or length parameter, depending on isByParameter.
isByParameterIf TRUE : theValue is treated as a curve parameter [0..1], if FALSE : theValue is treated as a length parameter [0..1]
Returns
New GEOM_Object, containing the processed shape.

◆ DivideEdgeByPoint()

GEOM_Object GEOM::GEOM_IHealingOperations::DivideEdgeByPoint ( in GEOM_Object  theObject,
in short  theEdgeIndex,
in ListOfGO  thePoints 
)
Parameters
theObjectShape to be processed.
theEdgeIndexIndex of edge to be divided within theObject's shape, if -1, then theObject itself is the edge.
thePointsPoints to project to theEdgeIndex-th edge.
Returns
New GEOM_Object, containing the processed shape.

◆ FillHoles()

GEOM_Object GEOM::GEOM_IHealingOperations::FillHoles ( in GEOM_Object  theObject,
in short_array  theWires 
)
Parameters
theObjectShape to be processed.
theWiresIndices of wires to be removed, if EMPTY then the method removes ALL internal holes of the given object
Returns
New GEOM_Object, containing processed shape.

◆ FuseCollinearEdgesWithinWire()

GEOM_Object GEOM::GEOM_IHealingOperations::FuseCollinearEdgesWithinWire ( in GEOM_Object  theWire,
in ListOfGO  theVertices 
)
Parameters
theWireWire to minimize the number of C1 continuous edges in.
theVerticesA list of vertices to suppress. If the list is empty, all vertices in a wire will be assumed.
Returns
New GEOM_Object with modified wire.

◆ GetFreeBoundary()

boolean GEOM::GEOM_IHealingOperations::GetFreeBoundary ( in ListOfGO  theObjects,
out ListOfGO  theClosedWires,
out ListOfGO  theOpenWires 
)
Parameters
theObjectsShapes to get free boundary of.
theClosedWiresOutput. Closed wires on the free boundary of the given shape.
theOpenWiresOutput. Open wires on the free boundary of the given shape.
Returns
FALSE, if an error(s) occurred during the method execution.

◆ GetOperatorParameters()

void GEOM::GEOM_IHealingOperations::GetOperatorParameters ( in string  theOperator,
out string_array  theParameters,
out string_array  theValues 
)

In the current implementation the defaults are read from the file pointed by CSF_ShHealingDefaults environmental variable.

Parameters
theOperatorInput. The operator's name.
theParametersOutput. Default list of names of parameters.
theValuesOutput. List of default values of parameters, in the same order as parameters are listed in theParameters list.

◆ GetShapeProcessParameters()

void GEOM::GEOM_IHealingOperations::GetShapeProcessParameters ( out string_array  theOperators,
out string_array  theParameters,
out string_array  theValues 
)

In the current implementation the defaults are read from the file pointed by CSF_ShHealingDefaults environmental variable.

Parameters
theOperatorsOutput. Default list of names of operators.
theParametersOutput. Default list of names of parameters.
theValuesOutput. List of default values of parameters, in the same order as parameters are listed in theParameters list.

◆ GetStatistics()

ModifStatistics GEOM::GEOM_IHealingOperations::GetStatistics ( )
Returns
ModifStatistics, information container.

◆ LimitTolerance()

GEOM_Object GEOM::GEOM_IHealingOperations::LimitTolerance ( in GEOM_Object  theObject,
in double  theTolerance 
)
Parameters
theObjectShape to be processed.
theToleranceRequired tolerance value.
Returns
New GEOM_Object, containing processed shape.

◆ ProcessShape()

GEOM_Object GEOM::GEOM_IHealingOperations::ProcessShape ( in GEOM_Object  theShapes,
in string_array  theOperators,
in string_array  theParameters,
in string_array  theValues 
)
Parameters
theShapesShape to be processed.
theOperatorsList of names of operators ("FixShape", "SplitClosedFaces", etc.).
theParametersList of names of parameters ("FixShape.Tolerance3d", "SplitClosedFaces.NbSplitPoints", etc.).
theValuesList of values of parameters, in the same order as parameters are listed in theParameters list.
Returns
New GEOM_Object, containing processed shape.

◆ RemoveInternalFaces()

GEOM_Object GEOM::GEOM_IHealingOperations::RemoveInternalFaces ( in ListOfGO  theSolids)

Rebuild the topology of theSolids by removing the faces that are shared by several solids.

Parameters
theSolidsA list of shapes containing solids to be processed.
Returns
New GEOM_Object, containing processed shape.

◆ RemoveIntWires()

GEOM_Object GEOM::GEOM_IHealingOperations::RemoveIntWires ( in GEOM_Object  theObject,
in short_array  theWires 
)
Parameters
theObjectShape to be processed.
theWiresIndices of wires to be removed, if EMPTY then the method removes ALL internal wires of the given object.
Returns
New GEOM_Object, containing processed shape.

◆ Sew()

GEOM_Object GEOM::GEOM_IHealingOperations::Sew ( in ListOfGO  theObjects,
in double  theTolerance 
)

Sewing of the given object.

Parameters
theObjectsShapes to be processed.
theToleranceRequired tolerance value.
Returns
New GEOM_Object, containing processed shape.

◆ SewAllowNonManifold()

GEOM_Object GEOM::GEOM_IHealingOperations::SewAllowNonManifold ( in ListOfGO  theObjects,
in double  theTolerance 
)

Sewing of the given object. Allows non-manifold sewing.

Parameters
theObjectsShapes to be processed.
theToleranceRequired tolerance value.
Returns
New GEOM_Object, containing processed shape.

◆ SuppressFaces()

GEOM_Object GEOM::GEOM_IHealingOperations::SuppressFaces ( in GEOM_Object  theObject,
in short_array  theFaces 
)
Parameters
theObjectShape to be processed.
theFacesIndices of faces to be removed, if EMPTY then the method removes ALL faces of the given object.
Returns
New GEOM_Object, containing processed shape.

The documentation for this interface was generated from the following file: