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,LS>,P extends Point<P,S>,S extends Space,R extends Ray<R,P,S>,LS extends LineSegment<P,R,S>> PolyLine is the interface for PolyLine2d and PolyLine3d implementations.PolyLine.TransitionFunction Interface for transition function.Project<P extends Point<P,S>,S extends Space> Project.java.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.Clothoid Approximate a clothoid with a PolyLine3d.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.Polygon2d Polygon2d.java.Polygon3d Polygon3d.java.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.