GeometricObjects CATSurEvalResult
Usage: you must use this class as is. You should never derive it.
public class CATSurEvalResult
Class representing an object that handles the results of a grid
evaluation on points of a CATSurface.
The definition of the evaluations to performed is declared in a
CATSurEvalCommand and the evaluation is performed by the
Eval method of the CATSurface interface.
The objects returned
belong to the CATSurEvalResult and must not be deleted.
- See also:
- ,
Constructor and Destructor Index
- o
CATSurEvalResult()
- Constructs an empty CATSurEvalResult.
- o
~CATSurEvalResult()
- Destructor.
Method Index
- o
Compress()
- Releases the memory unused by the internal grids of points and vectors of
a CATSurEvalResult.
- o
GetFirstDerivU()
- Returns the evaluation of the U first partial derivative at
the points of a surface grid.
- o
GetFirstDerivV()
- Returns the evaluation of the V first partial derivative at
the points of a surface grid.
- o
GetLocalResult(CATLONG32,CATLONG32,CATSurEvalLocal&)
- Retrieves the evaluation at a given point of a grid.
- o
GetNormals()
- Returns the evaluation of the normals at
the points of a surface grid.
- o
GetPoints()
- Returns the evaluation at the points of a surface grid.
- o
GetSecondDerivU2()
- Returns the evaluation of the UU second partial derivative at
the points of a surface grid.
- o
GetSecondDerivUV()
- Returns the evaluation of the UV second partial derivative at
the points of a surface grid.
- o
GetSecondDerivV2()
- Returns the evaluation of the VV second partial derivative at
the points of a surface grid.
- o
GetThirdDerivU2V()
- Returns the evaluation of the UUV third partial derivative at
the points of a surface grid.
- o
GetThirdDerivU3()
- Returns the evaluation of the UUU third partial derivative at
the points of a surface grid.
- o
GetThirdDerivUV2()
- Returns the evaluation of the UVV third partial derivative at
the points of a surface grid.
- o
GetThirdDerivV3()
- Returns the evaluation of the VVV third partial derivative at
the points of a surface grid.
- o
SetCommand(CATSurEvalCommand&)
- Defines the types of evaluation of a CATSurEvalResult.
- o
SetLocalResult(CATLONG32,CATLONG32,CATSurEvalLocal&)
- Modifies the evaluation at a given point of a grid.
- o
SetNumberOfPoints(CATLONG32,CATLONG32)
- Defines the number of points where the evaluation of a CATSurEvalResult
has to be performed.
Constructor and Destructor
o CATSurEvalResult
public CATSurEvalResult( | ) |
-
Constructs an empty CATSurEvalResult.
o ~CATSurEvalResult
public virtual ~CATSurEvalResult( | ) |
-
Destructor.
Methods
o Compress
-
Releases the memory unused by the internal grids of points and vectors of
a CATSurEvalResult.
o GetFirstDerivU
-
Returns the evaluation of the U first partial derivative at
the points of a surface grid.
- Returns:
- The grid of the corresponding first derivatives.
As part of this, it must not be directly deleted.
- Throws:
- If this evaluation was not defined for the CATSurEvalResult.
o GetFirstDerivV
-
Returns the evaluation of the V first partial derivative at
the points of a surface grid.
- Returns:
- The grid of the corresponding first derivatives.
As part of this, it must not be directly deleted.
- Throws:
- If this evaluation was not defined for the CATSurEvalResult.
o GetLocalResult
public GetLocalResult( | | iIndexPointU, |
| | iIndexPointV, |
| | ioResult) |
-
Retrieves the evaluation at a given point of a grid.
Check that the command used for the evaluations are compatible.
- Parameters:
-
- iIndexPointU
- The index starting at 0 of the point in the first direction of the grid.
- iIndexPointV
- The index starting at 0 of the point in the second direction of the grid.
- ioResult
- The point evaluation.
o GetNormals
-
Returns the evaluation of the normals at
the points of a surface grid.
- Returns:
- The grid of the corresponding normalized normals.
As part of this, it must not be directly deleted.
- Throws:
- If this evaluation was not defined for the CATSurEvalResult.
o GetPoints
-
Returns the evaluation at the points of a surface grid.
- Returns:
- The grid of the corresponding mathematical definitions.
As part of this, it must not be directly deleted.
- Throws:
- If this evaluation was not defined for the CATSurEvalResult.
o GetSecondDerivU2
public GetSecondDerivU2( | ) |
-
Returns the evaluation of the UU second partial derivative at
the points of a surface grid.
- Returns:
- The grid of the corresponding second derivatives.
As part of this, it must not be directly deleted.
- Throws:
- If this evaluation was not defined for the CATSurEvalResult.
o GetSecondDerivUV
public GetSecondDerivUV( | ) |
-
Returns the evaluation of the UV second partial derivative at
the points of a surface grid.
- Returns:
- The grid of the corresponding second derivatives.
As part of this, it must not be directly deleted.
- Throws:
- If this evaluation was not defined for the CATSurEvalResult.
o GetSecondDerivV2
public GetSecondDerivV2( | ) |
-
Returns the evaluation of the VV second partial derivative at
the points of a surface grid.
- Returns:
- The grid of the corresponding second derivatives.
As part of this, it must not be directly deleted.
- Throws:
- If this evaluation was not defined for the CATSurEvalResult.
o GetThirdDerivU2V
public GetThirdDerivU2V( | ) |
-
Returns the evaluation of the UUV third partial derivative at
the points of a surface grid.
- Returns:
- The grid of the corresponding third derivatives.
As part of this, it must not be directly deleted.
- Throws:
- If this evaluation was not defined for the CATSurEvalResult.
o GetThirdDerivU3
-
Returns the evaluation of the UUU third partial derivative at
the points of a surface grid.
- Returns:
- The grid of the corresponding third derivatives.
As part of this, it must not be directly deleted.
- Throws:
- If this evaluation was not defined for the CATSurEvalResult.
o GetThirdDerivUV2
public GetThirdDerivUV2( | ) |
-
Returns the evaluation of the UVV third partial derivative at
the points of a surface grid.
- Returns:
- The grid of the corresponding third derivatives.
As part of this, it must not be directly deleted.
- Throws:
- If this evaluation was not defined for the CATSurEvalResult.
o GetThirdDerivV3
-
Returns the evaluation of the VVV third partial derivative at
the points of a surface grid.
- Returns:
- The grid of the corresponding third derivatives.
As part of this, it must not be directly deleted.
- Throws:
- If this evaluation was not defined for the CATSurEvalResult.
o SetCommand
public virtual SetCommand( | const | iCommand) |
-
Defines the types of evaluation of a CATSurEvalResult.
- Parameters:
-
- iCommand
- The command to copy.
o SetLocalResult
public SetLocalResult( | | iIndexPointU, |
| | iIndexPointV, |
| const | iResult) |
-
Modifies the evaluation at a given point of a grid.
Check that the command used for the evaluations are compatible.
- Parameters:
-
- iIndexPointU
- The index starting at 0 of the point in the first direction of the grid.
- iIndexPointV
- The index starting at 0 of the point in the second direction of the grid.
- iResult
- The point evaluation.
o SetNumberOfPoints
public virtual SetNumberOfPoints( | | iPointsInU, |
| | iPointsInV) |
-
Defines the number of points where the evaluation of a CATSurEvalResult
has to be performed.
This method must be called after the SetCommand method, in
order to allocate the correct amount of memory for the results.
- Parameters:
-
- iPointsInU
- The number of points in the first direction of the surface .
- iPointsInV
- The number of points in the second direction of the surface.
This object is included in the file: CATSurEvalResult.h
If needed, your Imakefile.mk should include the module: CATGeometricObjects
Copyright © 1999-2014, Dassault Systèmes. All rights reserved.