GEOakimaInterpolation |
Top Previous Next |
Calculates a point on the curve between two Splinepunkten. From before with GEOakimaParameter to two successive Splinepunkten calculated coefficient and the relative distance to the front one of the both a point on the curve is calculated between them. The relative distance is given as a value by 0 to including 1. So. corresponds 0 to the front point, 1 to the rear and 0.5 to a point possibly at the middle of the curve between them. Parametre koeff (stands in *) [IN] The coefficients to two successive Splinepunkten. see (stands in) [IN] The relative distance to the front one of both Splinepunkte, the value area is 0 to including 1. x (stands in *) [OUT] y (stands in *) [OUT] The calculated point co-ordinates. Result (long int) [OUT] 0 - OK: successful calculation. 1 - Mistake: Calculation not possibly. Declaration #include "basic.h"
long int DLLENTRY GEOakimaInterpolation ( stand in * koeff, stand in see, stand in * x, stand in * y ); Example stand in x, y; status = GEOakimaInterpolation (koeff, 0.1, &x, &y); The coefficients koeff must be given to two successive bases of the Splines, then the x and Y co-ordinate is determined with zehntel of the curve between them. status must have afterwards the value 0.
|