PolysectSegment[point, point, number, list]
[math]\;\;[/math]Segment endpoints
[math]\;\;[/math]# polygon edges
[math]\;\;[/math]List of vertices (same list of of points you would give to a Polygon[]).
Gives back 3 objects:
[list=1]
[*]The points of intersection
[*]List of coordinates (t, e), where
[math]\;\;[/math]t= Intersection time on segment PQ,
[math]\;\;[/math]e = The edge (1 ... n) intersected at that time.
[*]Segments showing which intervals fall inside the polygon.
[/list]
_________
Construction: [url]http://www.geogebratube.org/material/show/id/97762[/url]