POV-Ray : Newsgroups : povray.general : Square Root problem : Re: Square Root problem Server Time
30 Jul 2024 00:27:08 EDT (-0400)
  Re: Square Root problem  
From: gharryh
Date: 19 Mar 2010 10:45:01
Message: <web.4ba38d3071cdd7cfda0e3b8d0@news.povray.org>
Vincent Le Chevalier <gal### [at] libertyALLsurfSPAMfr> wrote:
> Jérôme M. Berger wrote:
> >  Actually, it is possible in spherical geometry. You just have to
> > remember that two points are not sufficient to define an edge on a
> > sphere: there are two possibilities, one of which goes around the
> > sphere...
> >
>
> Ah yes, I was thinking of the triangles specified by joining the points
> according to the great-circle distance, i.e. the shortest arc between
> the vertices.
> Vincent

Problem is solved using this:

#macro flange() // Create the bottom flange
difference {
        union {
                box{<0,FM,0><FE_FM,0,1> Rotate_Around_Trans(<0,0,-FMT><0,FM,0>)}
                box{<0,FM,0><-65,0,1> Rotate_Around_Trans(<0,0,FMT><0,FM,0>)}
                box{<-FW/2,0,0><FW/2,FE,1>}
                }
        box{<-FW/2,0,-0.1><FW/2,-FE*1.75,1.1>}
        }
#end

Harry


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.