The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....


Declaration:procedure CalcKDForm (var k, d: double);

Straight lines may be represented either by the three-parameter model (as it is used natively by this unit)

Ax + By + C = 0,

or, by a two-parameter model specifying slope k and intercept d:

y = kx + d

The method CalcKDForm calculates the parameters k and d of the two-parameter form.

Hint: Please note that ParB must not be zero, otherwise an exception is raised.

Last Update: 2012-Oct-20