All Frameworks Class Hierarchy This Framework Previous Next Indexes
GeometricObjects Class CATCrvEvalCommand
CATCrvEvalCommand
Usage: you must use this class as is. You should never derive it.
public class CATCrvEvalCommand
Class representing a command for computing a multiple evaluation
on points of a CATCurve.
The evaluation is
performed by the Eval method of the CATCurve interface and results
are handled by the CATCrvEvalLocal class.
Basic evaluators can be directly used as in the following examples:
CATCrvEvalLocal EvalResult;
CATCrvParam Parameter ;
Curve->GetStartLimit(Parameter) ;
Curve->Eval(Parameter, CATCrvEvalCommand::EvalPoint , EvalResult) ; // Evaluate point
Curve->Eval(Parameter, CATCrvEvalCommand::EvalFirstDerivative , EvalResult) ; // Evaluate first derivative
Curve->Eval(Parameter, CATCrvEvalCommand::EvalSecondDerivative , EvalResult) ; // Evaluate second derivative
Curve->Eval(Parameter, CATCrvEvalCommand::EvalThirdDerivative , EvalResult) ; // Evaluate third derivative
Curve->Eval(Parameter, CATCrvEvalCommand::EvalUpToFirstDerivative , EvalResult) ; // Evaluate all derivatives up to first derivative
Curve->Eval(Parameter, CATCrvEvalCommand::EvalUpToSecondDerivative , EvalResult) ; // Evaluate all derivatives up to second derivative
Curve->Eval(Parameter, CATCrvEvalCommand::EvalUpToThirdDerivative , EvalResult) ; // Evaluate all derivatives up to third derivative
The evaluation types are not exclusive. You can ask for other types
by using the Order method, or put the command to
No Evaluation with the Reset method.
- See also:
- CATCurve, CATCrvEvalLocal, CATCrvEvalResult
Constructor and Destructor Index
- o
CATCrvEvalCommand()
- Constructs a command with no specified evaluation.
- o
CATCrvEvalCommand(CATCrvEvalCommand&)
- Copy constructor.
Method Index
- o
IsSetToEval(Evaluations)
- Tests whether a specified evaluation belongs to this CATCrvEvalCommand.
- o
IsSetToEvalFirstDeriv()
- Tests whether the first derivative evaluation belongs to this CATCrvEvalCommand.
- o
IsSetToEvalPoint()
- Tests whether the point evaluation belongs to this CATCrvEvalCommand.
- o
IsSetToEvalSecondDeriv()
- Tests whether the second derivative evaluation belongs to this CATCrvEvalCommand.
- o
IsSetToEvalThirdDeriv()
- Tests whether the third derivative evaluation belongs to this CATCrvEvalCommand.
- o
OrderEvalFirstDeriv()
- Adds the first derivative evaluation to this CATCrvEvalCommand.
- o
OrderEvalPoint()
- Adds the point evaluation to this CATCrvEvalCommand.
- o
OrderEvalSecondDeriv()
- Adds the second derivative evaluation to this CATCrvEvalCommand.
- o
OrderEvalThirdDeriv()
- Adds the third derivative evaluation to this CATCrvEvalCommand.
- o
Reset()
- Resets all the specified evaluations on a CATCurve.
Data Member Index
- o
EvalFirstDerivative
- The command for the evaluation of the curve first derivative only.
- o
EvalPoint
- The command for the evaluation (3D point) of a point on a curve.
- o
EvalSecondDerivative
- The command for the evaluation of the curve second derivative only.
- o
EvalThirdDerivative
- The command for the evaluation of the curve third derivative only.
- o
EvalUpToFirstDerivative
- The command for all the evaluations of the curve up to the first derivative.
- o
EvalUpToSecondDerivative
- The command for all the evaluations of the curve up to the second derivative.
- o
EvalUpToThirdDerivative
- The command for all the evaluations of the curve up to the third derivative.
Constructor and Destructor
o CATCrvEvalCommand
public INLINE CATCrvEvalCommand( | ) |
-
Constructs a command with no specified evaluation.
o CATCrvEvalCommand
-
Copy constructor.
Methods
o IsSetToEval
-
Tests whether a specified evaluation belongs to this CATCrvEvalCommand.
- Returns:
- The result of the test.
Legal values:
- 0
- if it does not belong to the command.
- 1
- if it belongs to the command.
o IsSetToEvalFirstDeriv
-
Tests whether the first derivative evaluation belongs to this CATCrvEvalCommand.
- Returns:
- The result of the test.
Legal values:
- 0
- if it does not belong to the command.
- 1
- if it belongs to the command.
o IsSetToEvalPoint
-
Tests whether the point evaluation belongs to this CATCrvEvalCommand.
- Returns:
- The result of the test.
Legal values:
- 0
- if it does not belong to the command.
- 1
- if it belongs to the command.
o IsSetToEvalSecondDeriv
-
Tests whether the second derivative evaluation belongs to this CATCrvEvalCommand.
- Returns:
- The result of the test.
Legal values:
- 0
- if it does not belong to the command.
- 1
- if it belongs to the command.
o IsSetToEvalThirdDeriv
-
Tests whether the third derivative evaluation belongs to this CATCrvEvalCommand.
- Returns:
- The result of the test.
Legal values:
- 0
- if it does not belong to the command.
- 1
- if it belongs to the command.
o OrderEvalFirstDeriv
public INLINE void OrderEvalFirstDeriv( | ) |
-
Adds the first derivative evaluation to this CATCrvEvalCommand.
o OrderEvalPoint
public INLINE void OrderEvalPoint( | ) |
-
Adds the point evaluation to this CATCrvEvalCommand.
o OrderEvalSecondDeriv
public INLINE void OrderEvalSecondDeriv( | ) |
-
Adds the second derivative evaluation to this CATCrvEvalCommand.
o OrderEvalThirdDeriv
public INLINE void OrderEvalThirdDeriv( | ) |
-
Adds the third derivative evaluation to this CATCrvEvalCommand.
o Reset
public INLINE void Reset( | ) |
-
Resets all the specified evaluations on a CATCurve.
After this, no evaluation will be performed on the curve.
Data Members
o EvalFirstDerivative
public static const CATCrvEvalCommand EvalFirstDerivative
-
The command for the evaluation of the curve first derivative only.
o EvalPoint
public static const CATCrvEvalCommand EvalPoint
-
The command for the evaluation (3D point) of a point on a curve.
o EvalSecondDerivative
public static const CATCrvEvalCommand EvalSecondDerivative
-
The command for the evaluation of the curve second derivative only.
o EvalThirdDerivative
public static const CATCrvEvalCommand EvalThirdDerivative
-
The command for the evaluation of the curve third derivative only.
o EvalUpToFirstDerivative
public static const CATCrvEvalCommand EvalUpToFirstDerivative
-
The command for all the evaluations of the curve up to the first derivative.
o EvalUpToSecondDerivative
public static const CATCrvEvalCommand EvalUpToSecondDerivative
-
The command for all the evaluations of the curve up to the second derivative.
o EvalUpToThirdDerivative
public static const CATCrvEvalCommand EvalUpToThirdDerivative
-
The command for all the evaluations of the curve up to the third derivative.
This object is included in the file: CATCrvEvalCommand.h
If needed, your Imakefile.mk should include the module: CATCGMGeoMath