Home
Brief CV
Research
Teaching
Outreach
Conferences
Software
Press
collaborations:
LHC and Philosophy

DFG RTG
|
[Up: aximate]
polygon
A polygon is simply a chain
of lines.
polygon({"points" => [[[-100,-50],[-100,20]],
[[0,30]],
[[-30,20],[30,-20]],
[[50,70],[100,-70]],
[[0,-100],[-40,-80]]
],
"color" => "Green"});
|
|
If the additional parameter closed is equal to 1, it
produces a closed polygon:
polygon({"points" => [[[-100,-50],[-100,20]],
[[0,30]],
[[-30,20],[30,-20]],
[[50,70],[100,-70]],
[[0,-100],[-40,-80]]
],
"closed" => 1});
|
|
main
|