Uses of Class
org.opentrafficsim.base.geometry.OtsLine2d
Packages that use OtsLine2d
-
Uses of OtsLine2d in org.opentrafficsim.base.geometry
Subclasses of OtsLine2d in org.opentrafficsim.base.geometryModifier and TypeClassDescriptionclassAdds a direction at the start and end point relative to its super classOtsLine2d, as the first and last segment may not have the same direction as a theoretical line the segments are a numerical approach of.Methods in org.opentrafficsim.base.geometry that return OtsLine2dModifier and TypeMethodDescriptionstatic OtsLine2dOtsLine2d.concatenate(double toleranceSI, OtsLine2d... lines) Concatenate several OtsLine2d instances.static OtsLine2dOtsLine2d.concatenate(double toleranceSI, OtsLine2d line1, OtsLine2d line2) Concatenate two OtsLine2d instances.static OtsLine2dOtsLine2d.concatenate(OtsLine2d... lines) Concatenate several OtsLine2d instances.OtsLine2d.extract(double start, double end) Create a new line that covers a sub-section of this line.OtsLine2d.extract(org.djunits.value.vdouble.scalar.Length start, org.djunits.value.vdouble.scalar.Length end) Create a new line that covers a sub-section of this line.OtsLine2d.extractFractional(double start, double end) Create a new line covering the indicated fraction of this line.OtsLine2d.offsetLine(double offset) Construct parallel line.OtsLine2d.offsetLine(double[] relativeFractions, double[] offsets) Create a line at linearly varying offset from this line.OtsLine2d.offsetLine(double offsetAtStart, double offsetAtEnd) Create a line at linearly varying offset from this line.OtsLine2d.reverse()Returns a reversed instance of this line.OtsLine2d.truncate(double lengthSI) Truncate line at the given length in range (0..length).Methods in org.opentrafficsim.base.geometry with parameters of type OtsLine2dModifier and TypeMethodDescriptionstatic OtsLine2dOtsLine2d.concatenate(double toleranceSI, OtsLine2d... lines) Concatenate several OtsLine2d instances.static OtsLine2dOtsLine2d.concatenate(double toleranceSI, OtsLine2d line1, OtsLine2d line2) Concatenate two OtsLine2d instances.static OtsLine2dOtsLine2d.concatenate(OtsLine2d... lines) Concatenate several OtsLine2d instances.Constructors in org.opentrafficsim.base.geometry with parameters of type OtsLine2dModifierConstructorDescriptionRadiusCalculator2d(OtsLine2d line, FractionalProjectionHelper fracHelper) Construct a radius calculator for a line.