All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

GeometricObjects Class CATSurEvalResult

Mathematics.CATCGMVirtual
  |
  +---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:
CATSurEvalCommand, CATSurface


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
public void Compress()
Releases the memory unused by the internal grids of points and vectors of a CATSurEvalResult.
o GetFirstDerivU
public CATMathGridOfVectors & 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
public CATMathGridOfVectors & 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 void GetLocalResult(CATLONG32 iIndexPointU,
CATLONG32 iIndexPointV,
CATSurEvalLocal& ioResult) const
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
public CATMathGridOfVectors & 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
public CATMathGridOfPoints & 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 CATMathGridOfVectors & 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 CATMathGridOfVectors & 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 CATMathGridOfVectors & 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 CATMathGridOfVectors & 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
public CATMathGridOfVectors & 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 CATMathGridOfVectors & 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
public CATMathGridOfVectors & 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 void SetCommand( const CATSurEvalCommand& iCommand)
Defines the types of evaluation of a CATSurEvalResult.
Parameters:
iCommand
The command to copy.
o SetLocalResult
public void SetLocalResult(CATLONG32 iIndexPointU,
CATLONG32 iIndexPointV,
const CATSurEvalLocal& 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 void SetNumberOfPoints(CATLONG32 iPointsInU,
CATLONG32 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: CATCGMGeoMath

Copyright © 2003, Dassault Systèmes. All rights reserved.