@@ -1529,15 +1529,23 @@ def extent(self):
15291529class Polygon (Builtin ):
15301530 """
15311531 <dl>
1532- <dt>'Polygon[{$point_1$, $point_2$ ...}]'
1533- <dd>represents the filled polygon primitive.
1534- <dt>'Polygon[{{$p_11$, $p_12$, ...}, {$p_21$, $p_22$, ...}, ...}]'
1535- <dd>represents a number of filled polygon primitives.
1532+ <dt>'Polygon[{$point_1$, $point_2$ ...}]'
1533+ <dd>represents the filled polygon primitive.
1534+
1535+ <dt>'Polygon[{{$p_11$, $p_12$, ...}, {$p_21$, $p_22$, ...}, ...}]'
1536+ <dd>represents a number of filled polygon primitives.
15361537 </dl>
15371538
1539+ A Right Triangle:
15381540 >> Graphics[Polygon[{{1,0},{0,0},{0,1}}]]
15391541 = -Graphics-
15401542
1543+ Notice that there is a line connecting from the last point to the first one.
1544+
1545+ A point is an element of the polygon if a ray from the point in any direction in the plane crosses the boundary line segments an odd number of times.
1546+ >> Graphics[Polygon[{{150,0},{121,90},{198,35},{102,35},{179,90}}]]
1547+ = -Graphics-
1548+
15411549 >> Graphics3D[Polygon[{{0,0,0},{0,1,1},{1,0,0}}]]
15421550 = -Graphics3D-
15431551 """
0 commit comments