Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?
$triangle = new Polygon([new Point(1, 1), new Point(2, 2), new Point(3, 3)]);
$triangle->setVertices([new Point(1, 1)]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment