GMOperatorsInterfaces CATICGMTopSimilarCurve
Usage: you must use this class as is. You should never derive it.
public class CATICGMTopSimilarCurve
Class defining the topological operator that connects two wires with
the "Base Curve" option.
- A CATICGMTopSimilarCurve operator is created with the CATCGMCreateTopSimilarCurve global function;
it must be directly released with the Release method after use.
It is is not streamable.
- Options such as the start and end points must be
precised with the SetXxx methods, before
asking for the computation with the Run method.
- The result is accessed with the GetResult method. If you do not want
to keep the resulting body, use the method to remove it from the geometric factory.Although several sucessive
Runs with different inputs
are possible, it is strongly recommended to Run it only once.
Constructor and Destructor Index
- o
CATICGMTopSimilarCurve()
- Constructor
Method Index
- o
GetResult()
- Returns the result of this operator.
- o
Run()
- Runs this operator.
- o
SetEndPoint(CATBody*,CATBody*)
- Defines the end point.
- o
SetStartPoint(CATBody*,CATBody*)
- Defines the start point.
- o
SetTrimmingMode(CATLONG32,CATLONG32)
- Defines whether the input bodies must be trimmed.
Constructor and Destructor
o CATICGMTopSimilarCurve
public CATICGMTopSimilarCurve( | ) |
-
Constructor
Methods
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.
o Run
-
Runs this operator.
o SetEndPoint
public virtual SetEndPoint( | | iEndPoint, |
| | iCurve2) |
-
Defines the end point.
- Parameters:
-
- iEndPoint
- The endpoint. It must be laid down on iCurve2
- iCurve2
- The second curve. If iCurve2 is NULL the point is free.
o SetStartPoint
public virtual SetStartPoint( | | iStartPoint, |
| | iCurve1) |
-
Defines the start point.
- Parameters:
-
- iStartPoint
- The start point. It must be laid down on iCurve1
- iCurve
- The first curve. If iCurve1 is NULL the point is free.
o SetTrimmingMode
public virtual SetTrimmingMode( | const | iWire, |
| const | iTrimmingMode) |
-
Defines whether the input bodies must be trimmed.
- Parameters:
-
- iWire
- The first (1) or the second (2) wire body.
If not precised and if iTrimmingMode is set to ON,
the two wire bodies are trimmed.
- iTrimmingMode
- trim ON (1), trim OFF (0)
This object is included in the file: CATICGMTopSimilarCurve.h
If needed, your Imakefile.mk should include the module: CATGMOperatorsInterfaces
Copyright © 1999-2015, Dassault Systèmes. All rights reserved.