All Frameworks Class Hierarchy This Framework Indexes
GMOperatorsInterfaces Class CATICGMHybProject
Usage: you must use this class as is. You should never derive it.
public class CATICGMHybProject
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.
- CATICGMHybProject is created with the CATCGMCreateTopProject global function.
It must be
directly released with the Release method 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:
- CATCGMCreateTopProject
Constructor and Destructor Index
- o
CATICGMHybProject()
- Constructor
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 CATICGMHybProject
| public CATICGMHybProject( | ) |
-
Constructor
Methods
o GetDistance
| public virtual GetDistance( | | iDomainOfResultBody) |
-
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
| public virtual SetDomainSupport( | | iDomain) |
-
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 virtual SetDomainToProject( | | iDomain) |
-
Defines which domain of the first body must be projected.
- Parameters:
-
- iDomain
- The pointer to the domain to project.
o SetMaxDistanceValue
| public virtual SetMaxDistanceValue( | | 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: CATICGMHybProject.h
If needed, your Imakefile.mk should include the module: CATGMOperatorsInterfaces