Uses of Class
org.djutils.draw.line.LineSegment2d
Package
Description
The draw package contains the generic classes for device-independent drawing.
The d1 package provides an interface and different implementations for lines.
The d0 package provides a set of interfaces and implementations of Points.
-
Uses of LineSegment2d in org.djutils.draw
Modifier and TypeMethodDescriptionstatic String
Export.toPlot
(LineSegment2d lineSegment) Convert a LineSegment2d to Peter's plot format.static String
Export.toTsv
(LineSegment2d lineSegment) Convert a LineSegment2d into something that a TSV parser can handle. -
Uses of LineSegment2d in org.djutils.draw.line
Modifier and TypeMethodDescriptionPolygon2d.getSegment
(int index) PolyLine2d.getSegment
(int index) LineSegment3d.project()
LineSegment2d.reverse()
-
Uses of LineSegment2d in org.djutils.draw.point
Modifier and TypeMethodDescriptionstatic Point2d
Point2d.intersectionOfLineSegments
(LineSegment2d segment1, LineSegment2d segment2) Compute the 2D intersection of two line segments.