|
![](/i/fill.gif) |
On 11/10/14, at 18:18, Ger wrote:
>
> I have a set of points, 2 rows side by side of 5 points each. The x and z values are
set in a grid pattern, the y-values vary. I would like to calculate a plane that
averages all
> points in such a way that some points will be above the plane and some will be below
it. The plane itself needs to tilt on the x and z axis in such a way that it gets as
close as
> possible to all points. So it's not going to be a simple plane{ y, 0 translate y *
shiftvalue}
Does this help?
http://math.stackexchange.com/questions/99299/best-fitting-plane-given-a-set-of-points
The problem now is how to do a SVD in POV-Ray. Or, if you don't need to
do it within POV-Ray: http://www.bluebit.gr/matrix-calculator/
--
/ /\
Linux user / / \
#289967 / / /\ \ PGP Pub Key
/ / /\ \ \ 0x01A95F99
/ /_/__\ \ \
/________\ \ \
jellby \___________\/ yahoo.com
Post a reply to this message
|
![](/i/fill.gif) |