Uses of Class
org.opentrafficsim.base.geometry.BoundingPolygon
Package
Description
Candidate classes for djutils-draw, used throughout OTS projects.
-
Uses of BoundingPolygon in org.opentrafficsim.base.geometry
Modifier and TypeMethodDescriptionstatic BoundingPolygon
BoundingPolygon.geometryToBounds
(org.djutils.draw.point.OrientedPoint2d location, org.djutils.draw.line.PolyLine2d geometry) Translates absolute geometry to bounds relative to location, including rotation.static BoundingPolygon
ClickableBounds.get
(org.djutils.draw.line.PolyLine2d flattenedLine) Creates bounds that are clickable from a line, generating an area of 2m wide.