All Frameworks Class Hierarchy This Framework Previous Next Indexes
TopologicalOperators Class CATHybProject
Mathematics.CATCGMVirtual
|
+---GeometricObjects.CATCGMOperator
|
+---NewTopologicalObjects.CATTopOperator
|
+---TopologicalOperators.CATHybOperator
|
+---TopologicalOperators.CATHybOperatorImp
|
+---CATHybProject
Usage: you must use this class as is. You should never derive it.
public class CATHybProject
Class defining the operator that projects a body on another one.
It follows the general frame of all operator and satisfies to the smart mechanism: the
input bodies are not modified. A new resulting body is created,
possibly sharing data with the input bodies.
- CATHybProject is created with the CATCreateTopProject global function.
It must be
directly deleted with the usual C++ delete operator after use.
It is not streamable.
- The intersection can be restricted on a given domain on each body with the methods
SetFirstDomainToIntersect and SetSecondDomainToIntersect
- The result is accessed with the GetResult method. If you do not want
to keep the resulting body, use the CATICGMContainer.Remove method to remove it from the geometric factory.
- See also:
- CATCreateTopProject
Constructor and Destructor Index
- o
~CATHybProject()
-
Method Index
- o
GetDistance(CATDomain*)
- Returns the maximum distance of projection for a given domain of the resulting body.
- o
SetDomainSupport(CATDomain*)
- Defines on which domain of the second body the projection is done.
- o
SetDomainToProject(CATDomain*)
- Defines which domain of the first body must be projected.
- o
SetMaxDistanceValue(double)
- Specify a maximum distance for the solution(s) to be kept.
Constructor and Destructor
o ~CATHybProject
-
Methods
o GetDistance
-
Returns the maximum distance of projection for a given domain of the resulting body.
- Parameters:
-
- iDomainOfResultBody
- The pointer to the domain.
- Returns:
- The distance.
o SetDomainSupport
-
Defines on which domain of the second body the projection is done.
- Parameters:
-
- iDomain
- The pointer to the domain on which to project.
o SetDomainToProject
public void SetDomainToProject( | CATDomain* | iDomain) |
-
Defines which domain of the first body must be projected.
- Parameters:
-
- iDomain
- The pointer to the domain to project.
o SetMaxDistanceValue
public void SetMaxDistanceValue( | double | iMaxDistance) |
-
Specify a maximum distance for the solution(s) to be kept. By default all the solutions
are returned.
- Parameters:
-
- iMaxDistance
- The maximum distance.
This object is included in the file: CATHybProject.h
If needed, your Imakefile.mk should include the module: CATTopologicalOperators