Package org.djutils.draw.line

The d1 package provides an interface and different implementations for lines.
Various types of line are implemented:
  • LineSegment: straight connection between two points
  • PolyLine: multiple consecutive line segments where the end point of each segment (except the last) is the start of the next
  • Polygon: multiple consecutive line segments where the last end point equals the first start point
  • Ray: straight connection from one (finite) point to infinity (with a precisely defined direction)
Additionally there are generators to approximate Bézier curves and Clothoids.

Copyright (c) 2020-2021 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See DJUTILS License.

Author:
Alexander Verbraeck, Peter Knoppers