Uses of Class
org.djutils.draw.line.PolyLine2d
Package
Description
The draw package contains the generic classes for device-independent drawing.
The d1 package provides an interface and different implementations for lines.
-
Uses of PolyLine2d in org.djutils.draw
Modifier and TypeMethodDescriptionstatic String
Export.toPlot
(PolyLine2d polyLine) Convert a PolyLine2d to Peter's plot format.static String
Export.toTsv
(PolyLine2d polyLine) Convert a PolyLine2d into something that a TSV parser can handle. -
Uses of PolyLine2d in org.djutils.draw.line
Modifier and TypeMethodDescriptionstatic PolyLine2d
Approximate a Bézier curve of degree n with a specified precision.static PolyLine2d
Approximate a Bézier curve of degree n.static PolyLine2d
Approximate a Bézier curve of degree n usingDEFAULT_BEZIER_SIZE
points.static PolyLine2d
PolyLine2d.concatenate
(double tolerance, PolyLine2d... lines) Concatenate several PolyLine2d instances.static PolyLine2d
PolyLine2d.concatenate
(double tolerance, PolyLine2d line1, PolyLine2d line2) Concatenate two PolyLine2d instances.static PolyLine2d
PolyLine2d.concatenate
(PolyLine2d... lines) Concatenate several PolyLine2d instances.static PolyLine2d
Approximate a cubic Bézier curve from start to end with two generated control points at half the distance between start and end with specified precision.static PolyLine2d
Approximate a cubic Bézier curve from start to end with two generated control points at half the distance between start and end with specified precision.static PolyLine2d
Approximate a cubic Bézier curve from start to end with two generated control points at half the distance between start and end with specified precision.static PolyLine2d
Approximate a cubic Bézier curve from start to end with two control points with a specified precision.static PolyLine2d
Approximate a cubic Bézier curve from start to end with two generated control points at half the distance between start and end.static PolyLine2d
Approximate a cubic Bézier curve from start to end with two generated control points at half the distance between start and end.static PolyLine2d
Approximate a cubic Bézier curve from start to end with two generated control points at half the distance between start and end.static PolyLine2d
Approximate a cubic Bézier curve from start to end with two control points.static PolyLine2d
Approximate a cubic Bézier curve from start to end with two generated control points at half the distance between start and end.PolyLine2d.extract
(double start, double end) PolyLine2d.instantiate
(List<Point2d> pointList) final PolyLine2d
PolyLine2d.noiseFilteredLine
(double noiseLevel) PolyLine2d.offsetLine
(double offset, double circlePrecision, double offsetMinimumFilterValue, double offsetMaximumFilterValue, double offsetFilterRatio, double minimumOffset) PolyLine2d.offsetLine
(double offsetAtStart, double offsetAtEnd, double circlePrecision, double offsetMinimumFilterValue, double offsetMaximumFilterValue, double offsetFilterRatio, double minimumOffset) PolyLine3d.project()
PolyLine2d.transitionLine
(PolyLine2d endLine, PolyLine.TransitionFunction transition) PolyLine2d.truncate
(double position) Modifier and TypeMethodDescriptionstatic PolyLine2d
PolyLine2d.concatenate
(double tolerance, PolyLine2d... lines) Concatenate several PolyLine2d instances.static PolyLine2d
PolyLine2d.concatenate
(double tolerance, PolyLine2d line1, PolyLine2d line2) Concatenate two PolyLine2d instances.static PolyLine2d
PolyLine2d.concatenate
(PolyLine2d... lines) Concatenate several PolyLine2d instances.PolyLine2d.transitionLine
(PolyLine2d endLine, PolyLine.TransitionFunction transition) ModifierConstructorDescriptionPolyLine2d
(PolyLine2d polyLine) Construct a new PolyLine2d from an existing one.