Scilab Function
Last update : 1/11/2005

ponbowl - Points on Bowl

Calling Sequence

[mp,r] = ponbowl(puks)

Parameters

Description

4 points define a the surface of a bowl. These points are given in a matrix: PUKS=[x1 y1 z1;x2 y2 z2;...;x4 y4 z4] . MP is the center of the bowl, R its radius. If the 4 points are laying on a circle, then the linear equation system is not defined anymore.

Examples

p=[1,1,1;3,8,10;-4,-5,-8;-3,6,-2]
[mp,r]=ponbowl(p)
// Quite simple example

See Also

ponci ,   distance ,  

Authors

Dr. Andreas Geissler geisslea@web.de