May
28
2009
Know where a Point is relevant to a Segment
Posted by: Keith H in ActionScript 3, tags: Intersection, Layout, Placement, Point, Relavant, SegmentLooking at my previous post I felt the isBehindLine function served it's purpose, but if I get a more complicated problem similar to a raycasting test with imaginary ray of arbitrary width I would need to know more information where a Point is relevant to a Segment.
The "whereAboutSegment" function will return a String this time, with more detailed info of the Point's where-a-abouts instead of just knowing if its behind a line.
Entries (RSS)