All Frameworks Class Hierarchy This Framework Previous Next Indexes
TopologicalOperators Class CATTopWire
Mathematics.CATCGMVirtual
|
+---GeometricObjects.CATCGMOperator
|
+---NewTopologicalObjects.CATTopOperator
|
+---TopologicalOperators.CATGeoToTopOperator
|
+---CATTopWire
Usage: you must use this class as is. You should never derive it.
public class CATTopWire
Class representing the operator that creates a wire body from one or several curves.
To use the CATTopWire:
- Create it with one of the CATCreateTopWire 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.
- Delete with the usual C++ delete operator after use.
If there is only one closed curve, the operator creates a wire with two edges.
Constructor and Destructor Index
- o
~CATTopWire()
-
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 ~CATTopWire
public virtual ~CATTopWire( | ) |
-
Methods
o ForceWireClosure
public virtual void ForceWireClosure( | )=0 |
-
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
public virtual CATWire* GetWire( | )const=0 |
-
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
public virtual int Run( | )=0 |
-
Runs this operator.
This object is included in the file: CATTopWire.h
If needed, your Imakefile.mk should include the module: CATTopologicalOperators