Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • $\begingroup$ when I tried pts = {{5, 2}, {4, 1}, {1, 3}}; GraphicsMeshMeshInit[]; PolygonArea[pts] I got -2.5. I don't understand. $\endgroup$ Commented Jun 24, 2014 at 15:49
  • $\begingroup$ @minthao_2011 the order does matter. Try PolygonArea[Reverse@pts]. If it is only a matter of clockwise or anticlockwise order you can use Abs. $\endgroup$ Commented Jun 24, 2014 at 16:02