2012/7/20 Oliver Gloth <ogl...@engits.com>: > Daniel, > > I thought it was a known behaviour; if not, I'll first have a look at my > stuff and make sure that I didn't make any silly mistake. > > Another question came up, however: Is there a method to determine if a > given point (x,y,z) is inside or outside of a given BRL-CAD object?
If the inhit-point (pt_inhit->hit_point of struct partition or PointIn() of class ConstDatabase::Hit) is behind the ray's start point then the start point is inside the component, i.e. (inhit-point - start-point) \dot ray-direction < 0 ==> start-point is inside Daniel ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ BRL-CAD Developer mailing list brlcad-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-devel