P#2 – Polygon app

Polygon, is a custom Android application designed to support the client’s Rocksolver software (Intresto: http://www.intresto.com.au/), which optimizes the arrangement of stone pavers to reduce construction costs and greenhouse gas emissions. The app provided a practical way for users to approximate the shapes of pavers by drawing polygons directly over images and saving them into a structured database.

Key Features:
-- Display images from gallery or camera and define a scale in millimeters for accurate measurements.
-- Define an origin point within the object and draw straight lines using a unique “proximal point” method (closest point to the origin).
-- Drag and fix lines to enclose objects; up to 16 lines per polygon and 1000 polygons per database.
-- Save polygons with sequential IDs, along with the original image and scale data, into organized folders.
-- Edit, delete, or re‑align lines by selecting their proximal points.
-- Export polygon data as structured text files for integration with Rocksolver.

Technical Highlights:
-- Optimized for common smartphones of the time.
-- Custom geometry logic based on half‑plane intersections rather than traditional boundary representation.
-- Database export in text format, supporting scale adjustments and polygon editing.
-- Fully documented, open‑source components, with well‑commented code delivered to the client.

This project showcased my ability to translate a detailed specification into a working Android app, combining usability with precise geometric logic. Polygon became a valuable tool for the client’s sustainability‑focused Rocksolver platform.

Tech stack: Android, Java, Custom 2D Geometry, Java Graphics