GMOperatorsInterfaces CATICGMTopWire
Usage: you must use this class as is. You should never derive it.
public class CATICGMTopWire
Class representing the operator that creates a wire body from one or several curves.
To use the CATICGMTopWire:
- Create it with one of the CATCGMCreateTopWire global function.
You must order the input curves and precise the
limits of each, as well as their relative orientation, such that the end of
one curve (possibly reversed) is the beginning of the following.
Every created edge is positively oriented in the wire.
- If needed, tune some parameters with the SetXxx methods.
- Run the operator
- Retrieve the created body (frozen by default) with the GetResult method.
- DRelease the operator with the Release method after use.
If there is only one closed curve, the operator creates a wire with two edges.
Constructor and Destructor Index
- o
CATICGMTopWire()
- Constructor
Method Index
- o
ForceWireClosure()
- Asks for the closure of the wire.
- o
GetWire()
- Returns the pointer to the wire of the resulting body.
- o
Run()
- Runs this operator.
Constructor and Destructor
o CATICGMTopWire
-
Constructor
Methods
o ForceWireClosure
public virtual ForceWireClosure( | ) |
-
Asks for the closure of the wire.
The start extremity of the first curve and
the end extremity of the last curve must be the same.
o GetWire
-
Returns the pointer to the wire of the resulting body.
- Returns:
- The pointer to the wire of the resulting body. Remember that the whole body is retrieved with
the GetResult method, and you must manage its deletion if you do not want to keep it.
o Run
-
Runs this operator.
This object is included in the file: CATICGMTopWire.h
If needed, your Imakefile.mk should include the module: CATGMOperatorsInterfaces
Copyright © 1999-2015, Dassault Systèmes. All rights reserved.