Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 377 Bytes

README.md

File metadata and controls

13 lines (8 loc) · 377 Bytes

SIMPLE POLYGON

A JavaFX application to construct a simple polygon from a given set of points.

Input

Input Points can be provided via GUI

Polygon Construction

  • The list of points are sorted based on their angle with a reference point.
  • The point with the lowest Y coordinate is used as reference
  • The polygon is constructed by joining the list of sorted points.