Am 17.02.2013 20:57, schrieb Christian Froeschlin:
> nice design! I didn't know you could have overlapping parts
> in the prism geometry ... are these treated as "outside"?
Yup.
The algorithm behind it is actually pretty simple: To test whether point
X is inside the prism, a line is drawn "outward"; if that line crosses
the prism's outline an odd number of times the point is considered
inside, otherwise it is outside.
Post a reply to this message
|