Uses of Class
org.djutils.draw.line.LineSegment2d
Packages that use LineSegment2d
Package
Description
The draw package contains the generic classes for device-independent drawing.
The line package provides an interface and different implementations for lines.
The djutils-draw point package provides a set of interfaces and implementations of Points.
-
Uses of LineSegment2d in org.djutils.draw
Methods in org.djutils.draw with parameters of type LineSegment2dModifier 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
Methods in org.djutils.draw.line that return LineSegment2dModifier and TypeMethodDescriptionPolygon2d.getSegment
(int index) PolyLine2d.getSegment
(int index) LineSegment3d.project()
LineSegment2d.reverse()
-
Uses of LineSegment2d in org.djutils.draw.point
Methods in org.djutils.draw.point with parameters of type LineSegment2dModifier and TypeMethodDescriptionstatic Point2d
Point2d.intersectionOfLineSegments
(LineSegment2d segment1, LineSegment2d segment2) Compute the 2D intersection of two line segments.