Package com.partnersoft.geometry.xy

Two-dimensional, cartesian/euclidean geometry structures and algorithms.

See: Description

Package com.partnersoft.geometry.xy Description

Two-dimensional, cartesian/euclidean geometry structures and algorithms.

This package addresses good old fashioned geometry in (x, y) space, just like in high school.

All classes and interfaces in here should be "pure math" - independent of any sort of video system, mapping system, or other concepts. The coordinates themselves are stored as eight-byte double-precision floating-point numbers, which puts some restriction on available values but should be precise enough (and fast enough) for most uses.

That being said, these classes aren't so abstract as to be divorced from computing and application realities - for example, arcs and line segments are understood to have starting and ending points and a direction, and not just abstract constructions via a compass or ruler.

Angles are one of the most problematic parts of a geometry model. There are a number of units of measure, starting angles, and standard directions. We have divided the problem into:

Author:
Paul Reavis, Russell Cagle, Richard Fay, Rich Stepanski