Core datatypes and concepts.

Cordinate systems

JCurl uses various coordinate systems to reduce complexity. All of them are 2 dimensional and related to each other via {@link java.awt.geom.AffineTransform} matrices.

World Coordinates (WC)

Real world locations. (0,0) is at the tee (centerline x teeline) with positive Y-axis along the centerline. Right handed, unit of measurement is 1 meter.

Display Coordinates (DC)

(0,0) is at the top left edge of the current window on screen. Almost only for incoming mouse events. Left handed, unit of measurement is 1 pixel.

Rock Coordinates (RC)

Used to compute rock curves i.e. to implement curl models. (0,0) is at the rock's center of mass with positive Y-axis along the initial speed. Right handed, unit of measurement is 1 meter.

Collission Coordinates (CC)

Used to compute rock collissions i.e. to implement hit models. (0,0) is at the rock A's center of mass with positive Y-axis pointing towards B's center of mass. Right handed, unit of measurement is 1 meter.