GMOperatorsInterfaces Interface CATICGMHealGaps
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATICGMHealGaps
Class defining the topological operator that heals edge and vertex gaps in a body.
By default, the operator works globally and tries to repair all edge and vertex gaps in the body.
If the user calls SetCellsToHeal, then the operator will try to repair only the specified edges and vertices.
By default, the operator will try to heal edge gaps by extending and reintersecting adjacent faces and edges.
Use the AllowShapeDeformation method to turn on healing by deforming face and edge geometry.
- The CATICGMHealGaps operator is created with the CATCGMCreateHealGaps global function.
- It is the user's responsibility to release the operator after it has been used.
Method Index
- o
AllowShapeDeformation(double)
- Allows face and edge geometry to be deformed and sets the maximum deformation value.
- o
GetDeformedFaces(CATLISTP(CATFace)&)
- Returns the faces that have been deformed.
- o
GetEdgesWithGaps(CATLISTP(CATEdge)&)
- Returns the list of the edges with gaps.
- o
GetGap(CATEdge*)
- Returns the gap for the given edge.
- o
GetGap(CATVertex*)
- Returns the gap for the given vertex.
- o
GetMaxDeformation(CATFace*)
- Returns the value of the maximum deformation applied to the given face.
- o
GetMaxDeformation(CATEdge*)
- Returns the value of the maximum deformation applied to the given edge.
- o
GetMaxGap()
- Returns the global maximum gap.
- o
GetMaxGapOnVertices()
- Returns the global maximum gap on all vertices.
- o
GetVerticesWithGaps(CATLISTP(CATVertex)&)
- Returns the list of the vertices with gaps.
- o
SetCellsNotToChange(CATFace*)
- Adds a face to the list of cells that cannot be modified.
- o
SetCellsNotToChange(CATEdge*)
- Adds an edge to the list of cells that cannot be modified.
- o
SetCellsNotToChange(CATGeometricType)
- Adds all faces whose geometry is of the specified type to the list of cells that cannot be modified.
- o
SetCellsNotToChange(CATLISTP(CATFace)&)
- Adds faces to the list of cells that cannot be modified.
- o
SetCellsNotToChange(CATLISTP(CATEdge)&)
- Adds edges to the list of cells that cannot be modified.
- o
SetCellsToHeal(CATEdge*)
- Restricts healing to specified edges and vertices and adds an edge to the list of cells to be healed.
- o
SetCellsToHeal(CATVertex*)
- Restricts healing to specified edges and vertices and adds a vertex to the list of cells to be healed.
- o
SetCellsToHeal(CATLISTP(CATEdge)&)
- Restricts healing to specified edges and vertices and adds edges to the list of cells to be healed.
- o
SetCellsToHeal(CATLISTP(CATVertex)&)
- Restricts healing to specified edges and vertices and adds vertices to the list of cells to be healed.
- o
SetMaxGapToHeal(double)
- Sets the maximum healing gap.
- o
SetMinGapToHeal(double)
- Sets the minimum gap to heal.
Methods
o AllowShapeDeformation
public virtual AllowShapeDeformation( | | iMaxShapeDeformation) |
-
Allows face and edge geometry to be deformed and sets the maximum deformation value.
By default, shape deformation is disabled.
- Parameters:
-
- iMaxShapeDeformation
- The the maximum allowed face deformation value. The value must be
greater than factory resolution.
o GetDeformedFaces
public virtual GetDeformedFaces( | | oListOfFaces) |
-
Returns the faces that have been deformed.
o GetEdgesWithGaps
public virtual GetEdgesWithGaps( | | oEdgesWithGaps) |
-
Returns the list of the edges with gaps.
If calling before healing, the edges are with gaps greater than the minimum gap tolerance.
If calling after healing, the edges are the remaining un-healed ones.
- Parameters:
-
- oEdgesWithGaps
- The list of edges with gaps.
o GetGap
public virtual GetGap( | | ipEdge) |
-
Returns the gap for the given edge.
- Returns:
- The maximum gap of the edge.
o GetGap
public virtual GetGap( | | ipVertex) |
-
Returns the gap for the given vertex.
- Returns:
- The maximum gap of the vertex.
o GetMaxDeformation
public virtual GetMaxDeformation( | | ipFace) |
-
Returns the value of the maximum deformation applied to the given face.
- Returns:
- The maximum deformation applied to the face.
o GetMaxDeformation
public virtual GetMaxDeformation( | | ipEdge) |
-
Returns the value of the maximum deformation applied to the given edge.
- Returns:
- The maximum deformation applied to the edge.
o GetMaxGap
public virtual GetMaxGap( | ) |
-
Returns the global maximum gap.
If calling before healing, the value is from the input body.
If calling after healing, the value is from the result body.
- Returns:
- The maximum gap on the whole body.
o GetMaxGapOnVertices
public virtual GetMaxGapOnVertices( | ) |
-
Returns the global maximum gap on all vertices.
If calling before healing, the value is from the input body.
If calling after healing, the value is from the result body.
- Returns:
- The maximum vertex gap on the whole body.
o GetVerticesWithGaps
public virtual GetVerticesWithGaps( | | oVerticesWithGaps) |
-
Returns the list of the vertices with gaps.
If calling before healing, the vertices are with gaps greater than the minimum gap tolerance.
If calling after healing, the vertices are the remaining un-healed ones.
- Parameters:
-
- oVerticesWithGaps
- The list of vertices with gaps.
o SetCellsNotToChange
public virtual SetCellsNotToChange( | | ipFaceNotToChange) |
-
Adds a face to the list of cells that cannot be modified.
By default, all cells are modifiable.
- Parameters:
-
- ipFaceNotToChange
- The pointer to the face. The face must belong to the input body.
o SetCellsNotToChange
public virtual SetCellsNotToChange( | | ipEdgeNotToChange) |
-
Adds an edge to the list of cells that cannot be modified.
By default, all cells are modifiable.
- Parameters:
-
- ipEdgeNotToChange
- The pointer to the edge. The edge must belong to the input body.
o SetCellsNotToChange
public virtual SetCellsNotToChange( | | iFaceTypeNotToChange) |
-
Adds all faces whose geometry is of the specified type to the list of cells that cannot be modified.
This is useful, for example, to not allow canonical faces to change.
By default, all cells are modifiable.
- Parameters:
-
- iFaceTypeNotToChange
- The face geometry type. All the faces of the type in the input body belong to the set.
o SetCellsNotToChange
public virtual SetCellsNotToChange( | const | iFacesNotToChange) |
-
Adds faces to the list of cells that cannot be modified.
By default, all cells are modifiable.
- Parameters:
-
- iFacesNotToChange
- The list of the face pointers. The faces must belong to the input body.
o SetCellsNotToChange
public virtual SetCellsNotToChange( | const | iEdgesNotToChange) |
-
Adds edges to the list of cells that cannot be modified.
By default, all cells are modifiable.
- Parameters:
-
- iEdgesNotToChange
- The list of the edge pointers. The edges must belong to the input body.
o SetCellsToHeal
public virtual SetCellsToHeal( | | ipEdgeToHeal) |
-
Restricts healing to specified edges and vertices and adds an edge to the list of cells to be healed.
- Parameters:
-
- ipEdgeToHeal
- The pointer to the edge. The edge must belong to the input body.
o SetCellsToHeal
public virtual SetCellsToHeal( | | ipVertexToHeal) |
-
Restricts healing to specified edges and vertices and adds a vertex to the list of cells to be healed.
- Parameters:
-
- ipVertexToHeal
- The pointer to the vertex. The vertex must belong to the input body.
o SetCellsToHeal
public virtual SetCellsToHeal( | | iEdgesToHeal) |
-
Restricts healing to specified edges and vertices and adds edges to the list of cells to be healed.
- Parameters:
-
- iEdgesToHeal
- The list of edge pointers. The edges must belong to the input body.
o SetCellsToHeal
public virtual SetCellsToHeal( | | iVerticesToHeal) |
-
Restricts healing to specified edges and vertices and adds vertices to the list of cells to be healed.
- Parameters:
-
- iVerticesToHeal
- The list of the vertex pointers. The vertices must belong to the input body.
o SetMaxGapToHeal
public virtual SetMaxGapToHeal( | | iMaxGapTolerance) |
-
Sets the maximum healing gap.
Healing will not be applied to gaps greater than this value. The default value is the 1000 * model resolution.
- Parameters:
-
- iMaxGapTolerance
- The maximum healing gap.
o SetMinGapToHeal
public virtual SetMinGapToHeal( | | iMinGapTolerance) |
-
Sets the minimum gap to heal.
Healing will not be applied to gaps less than this value. The default value is the model resolution.
- Parameters:
-
- iMinGapTolerance
- The minimum healing gap.
This object is included in the file: CATICGMHealGaps.h
If needed, your Imakefile.mk should include the module: CATGMOperatorsInterfaces
Copyright © 1999-2015, Dassault Systèmes. All rights reserved.