POV-Ray : Newsgroups : povray.general : Possible bug: negative sphere radius : Re: Zero-radius spheres (and 4D geometry!) Server Time
5 Aug 2024 12:15:56 EDT (-0400)
  Re: Zero-radius spheres (and 4D geometry!)  
From: Christoph Hormann
Date: 22 Sep 2002 07:18:12
Message: <3D8DA6F4.F1DC6EE6@gmx.de>
Andrew Coppin wrote:
> 
> Here's an interesting one then... how about a zero-radius sphere? If
> you ask for a plane with normal <0, 0, 0> you get an error...
> Shouldn't a zero-radius sphere do the same? (It doesn't.)

Actually there is a big difference between a sphere with radius 0 and a
plane with a zero normal vector.  While the former is perfectly correct
(although quite useless in most situations) the latter is mathematically
undefined (like a cylinder with identical base and end point) and
therefore produces an error.

Christoph

-- 
POV-Ray tutorials, IsoWood include,                 
TransSkin and more: http://www.tu-bs.de/~y0013390/  
Last updated 13 Aug. 2002 _____./\/^>_*_<^\/\.______


Post a reply to this message

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