POV-Ray : Newsgroups : povray.general : Testing whether a shape intersects with another : Re: Testing whether a shape intersects with another Server Time
31 Jul 2024 04:22:35 EDT (-0400)
  Re: Testing whether a shape intersects with another  
From: PhilipIsPDR
Date: 4 Nov 2007 10:40:01
Message: <web.472de695cc25c29c5a2aacfe0@news.povray.org>
"M_a_r_c" <jac### [at] wanadoofr> wrote:

> web.472dcf35dc25d7085a2aacfe0@news.povray.org...
> > Does anyone know a way of accomplishing this?  I've looked and looked, and
> > I
> > realise I might be missing something very obvious...
> >
> What is obvious is that you did not make a research about the word "inside"
> in the pov documentaion :-)
>
> Marc


Thank you for your answer Marc, although it would have been nicer not to have
been put down for my lack of knowledge.  The inside function is exactly what I
was looking for; thank you for pointing me in the right direction.


If anyone else is searching for this, the inside function would be called in
this way:

#if ( inside(Obj, Point) )


Post a reply to this message

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