Package org.djutils.draw.line
The d1 package provides an interface and different implementations for Lines.
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
-
Interface Summary Interface Description LineSegment<P extends Point<P,S>,R extends Ray<R,P,S>,S extends Space> LineSegment is the interface for a line segment bound by 2 end points.PolyLine<L extends PolyLine<L,P,S,R>,P extends Point<P,S>,S extends Space,R> PolyLine is the interface for PolyLine2d and PolyLine3d implementations.Ray<R extends Ray<R,P,S>,P extends Point<P,S>,S extends Space> A Ray is a half-line; it has one end point with non-infinite coordinates; the other end point is infinitely far away. -
Class Summary Class Description Bezier Generation of Bézier curves.LineSegment2d LineSegment2d is a line segment bound by 2 end points in 2D-space.LineSegment3d LineSegment3d is a line segment bound by 2 end points in 3D-space.PolyLine2d Implementation of Line for 2D space.PolyLine3d Implementation of Line for 3D space.Ray2d Ray2d is a half-line; it has one end point with non-infinite coordinates; the other end point is infinitely far away.Ray3d Ray3d is a half-line; it has one end point with non-infinite coordinates; the other end point is infinitely far away.