Guruguhan N wrote:
> Hi All,
>            I am new to this group and recently started using Perl. I would like to 
> know whether it is possible to fit a
> quadrilateral if four points are known in 3-D space ? if so, I would like to get 
> some idea about the algorithm to do that in
> Perl. Any help is appreciated.

'Fit a quadrilateral' doesn't mean much to me I'm afraid.

A quadrilateral is a plane figure with four sides - nothing to do with
3D space unless your four points happen to be coplanar.

If you're trying to work out if four points /are/ coplanar then work
out the equation of the plane that the first three form and then see
if the fourth also fits in this equation.

If you mean a quadrahedron - a 3D figure with four vertices (and
four plane faces) then the coordinates of four points fully defines
the quadrilateral, so what do you want to do with it next?

Working things out in spatial geometry comes down to doing sums. Rest
assured that Perl is good at doing sums: it just needs to know what the
sums are.

Rob




-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to