GForth Graham Scan

Project for stack-based languages

The program calculates the convex hull of a set of given points. It consists of two parts:

Usage

File Format

Each line of the in.txt and out.txt files consists of a coordinate pair separated by a single space. The last line must always be empty.