All Frameworks Class Hierarchy This Framework Previous Next Indexes
BasicTopologicalOpe Class CATTopLineOperator
Mathematics.CATCGMVirtual
|
+---GeometricObjects.CATCGMOperator
|
+---NewTopologicalObjects.CATTopOperator
|
+---BasicTopologicalOpe.CATTopCurveOperator
|
+---CATTopLineOperator
Usage: you must use this class as is. You should never derive it.
public class CATTopLineOperator
Class defining a topological operator that builds a line body.
The definition of the line can be:
- passing by two points,
- passing by a point and with a given direction,
- tangent to a wire at a given point,
- angled to the tangent to a wire at a given point, round the shell normal at this point
- normal to a shell at a point.
This operator follows the general scheme of the topological operators.
For a basic use, use the functions CATCreateTopLineXXX
that directly returns a line body.
If you need to tune specific parameters, use the advanced scheme:
- Create the operator with one of the functions CATCreateTopLineOperatorXXX
- Set parameters: for example, use the SetFirstLimit
SetSecondLimit methods to tune the line limits
- Run
- Get the resulting body
- Delete the operator with the usual C++ delete operator.
The created body can be removed from the factory with the
CATICGMContainer.Remove method as any CATICGMObject.
Constructor and Destructor Index
- o
~CATTopLineOperator()
-
Method Index
- o
GetFirstLimit(double&)
- Reads the first limitation, set for this CATTopLineOperator.
- o
GetSecondLimit(double&)
- Reads the second limitation, set for this CATTopLineOperator.
- o
SetFirstLimit(double)
- Defines the first limitation of the Line Body.
- o
SetSecondLimit(double)
- Defines the second limitation of the Line Body.
Constructor and Destructor
o ~CATTopLineOperator
public virtual ~CATTopLineOperator( | ) |
-
Methods
o GetFirstLimit
public virtual void GetFirstLimit( | double& | ioFirstLength)=0 |
-
Reads the first limitation, set for this CATTopLineOperator.
- Parameters:
-
- ioFirstLength
- The length from the origin of the line to define the first limitation.
o GetSecondLimit
public virtual void GetSecondLimit( | double& | ioSecondLength)=0 |
-
Reads the second limitation, set for this CATTopLineOperator.
- Parameters:
-
- ioSecondLength
- The length from the origin of the line to define the second limitation.
o SetFirstLimit
public virtual void SetFirstLimit( | double | iFirstLength)=0 |
-
Defines the first limitation of the Line Body.
- Parameters:
-
- iFirstLength
- The length from the origin of the line to define the first limitation.
o SetSecondLimit
public virtual void SetSecondLimit( | double | iSecondLength)=0 |
-
Defines the second limitation of the Line Body.
- Parameters:
-
- iSecondLength
- The length from the origin of the line to define the second limitation.
This object is included in the file: CATTopLineOperator.h
If needed, your Imakefile.mk should include the module: CATBasicTopologicalOpe