GMOperatorsInterfaces CATICGMTopologicalFill

Usage: you must use this class as is. You should never derive it.


public class CATICGMTopologicalFill

Class defining the topological operator that fills a space defined by a set of wires.

The wires must define a closed area. Continuity criteria can be precised: G0, G1 if the supporting surfaces of the wire are given, G0 otherwise. The supporting surfaces must be coherent to allow the operator to compute a G1 continuity.
The CATICGMTopologicalFill operator creates the resulting filling skin body separately from the inputs: the wires of the input bodies are not used to define the topology of the resulting fill body.


Constructor and Destructor Index


o CATICGMTopologicalFill()
Constructor

Method Index


o Check()
Checks the computation.
o GetCenterPoint(CATVertex&)
Returns the center point inside the hole to fill.
o GetFillType()
Returns the fill type.
o GetG0MaxAccuracy()
Returns the maximum admissible continuity gap on the result.
o GetG0MaxDeviation()
Returns the maximum continuity gap on the result.
o GetG1MaxDeviation()
Returns the maximum tangency gap (in radians) on the result.
o GetResult()
Returns the result of this operator.
o ResetCenterPoint()
Removes the defined center point.
o Run()
Runs this operator (ADVANCED mode).
o SetCenterPoint(CATVertex&)
Defines the center point inside the hole to fill (ADVANCED mode).
o SetFlatFaceMode(CATLONG32)
Activates the flat face mode.
o SetInputValidationMode(CATLONG32)
Checks whether holes must be detected in the input wires (ADVANCED mode).
o SetTransitionContinuity(CATLONG32,CATLONG32)
Defines the continuity criteria to take into account for a given wire (ADVANCED mode).

Constructor and Destructor


o CATICGMTopologicalFill
public CATICGMTopologicalFill()
Constructor

Methods


o Check
public virtual Check()
Checks the computation.
Returns:
0 if the computation occured without problem.
o GetCenterPoint
public virtual GetCenterPoint( ioCenterPoint)
Returns the center point inside the hole to fill.
The fill algorithm fills the hole with four sided faces. In case of not four sided input holes, the algorithm defines a center point allowing it to create four sided faces. This point can also be defined by the SetCenterPoint method (ADVANCED mode).
Parameters:
ioCenterPoint
The vertex representing the center point.
o GetFillType
public virtual GetFillType()
Returns the fill type.
Returns:
The fill type.
Useful in automatic mode to know which solution was chosen.
o GetG0MaxAccuracy
public virtual GetG0MaxAccuracy()
Returns the maximum admissible continuity gap on the result.
This value is computed by taking into account some incompatibilities in the input model. Hence, it can be larger than the factory resolution.
Returns:
The value of maximum admissible continuity gap.
o GetG0MaxDeviation
public virtual GetG0MaxDeviation()
Returns the maximum continuity gap on the result.
Returns:
The value of maximum continuity gap.
o GetG1MaxDeviation
public virtual GetG1MaxDeviation()
Returns the maximum tangency gap (in radians) on the result.
Returns:
The value in radians of maximum tangency gap.
o GetResult
public virtual GetResult()
Returns the result of this operator.
Returns:
The pointer to the created body. You must delete it with the method if you do not want to keep it. Note: in case of multiple Runs, the operator deletes the intermediate bodies.
o ResetCenterPoint
public virtual ResetCenterPoint()
Removes the defined center point. The algorithm defines the default center point.
o Run
public virtual Run()
Runs this operator (ADVANCED mode).
It is possible to Run the operator several times, with different parameters. After each Run, a new body is created.
o SetCenterPoint
public virtual SetCenterPoint( iCenterPoint)
Defines the center point inside the hole to fill (ADVANCED mode).
The fill algorithm fills the hole with four sided faces. In case of not four sided input holes, this method defines a center point allowing the algorithm to create four sided faces.
Parameters:
iCenterPoint
The vertex representing the center point.
o SetFlatFaceMode
public virtual SetFlatFaceMode( const iMode= 1)
Activates the flat face mode.
Parameters:
iMode
The flat mode.
Legal values:
1
to activate the flat face mode: in this case, it creates a planar face if the hole to fill is flat.
0
to deactivate the flat face mode: this is the default mode.
o SetInputValidationMode
public virtual SetInputValidationMode( const iMode= 1)
Checks whether holes must be detected in the input wires (ADVANCED mode).
Parameters:
iMode
The validation mode.
Legal values:
1
to check the inputs.
0
no check (default mode).
o SetTransitionContinuity
public virtual SetTransitionContinuity( const iWhichWire,
const iTransitionContinuity)
Defines the continuity criteria to take into account for a given wire (ADVANCED mode).
Parameters:
iWhichWire
The rank (beginning at 1) of the input wire.
iTransitionContinuity
The continuity criteria
Legal values:
0
for G0 continuity (default mode).
1
for G1 continuity.

This object is included in the file: CATICGMTopologicalFillLight.h
If needed, your Imakefile.mk should include the module: CATGMOperatorsInterfaces

Copyright © 1999-2015, Dassault Systèmes. All rights reserved.