POV-Ray : Newsgroups : povray.general : Is there an "inside"-function? : Is there an "inside"-function? Server Time
25 Apr 2024 04:17:11 EDT (-0400)
  Is there an "inside"-function?  
From: Juergen
Date: 24 Feb 2021 17:50:00
Message: <web.6036d679e1929f2dace3c0a80@news.povray.org>
Hello,

Is there a function or macro to check, if a given point is inside an object ?


.....
#declare Obj =
object {
  some_complex_object
  translate ...
  rotate ...
  scale ....
  ....
}

#declare Point = <1,2,3>;

#if (inside(Point,Obj)) // ?????
.....
#end




Post a reply to this message

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