Uses of Class
org.djutils.draw.Transform2d
Package
Description
The draw package contains the generic classes for device-independent drawing.
-
Uses of Transform2d in org.djutils.draw
Modifier and TypeMethodDescriptionTransform2d.reflectX()
The reflection of the x-coordinate, by mirroring it in the yz-plane (the plane with x=0).Transform2d.reflectY()
The reflection of the y-coordinate, by mirroring it in the xz-plane (the plane with y=0).Transform2d.rotation
(double angle) The rotation around the origin with an angle in radians.Transform2d.scale
(double sx, double sy) Scale all coordinates with a factor for x, and y.Transform2d.shear
(double sx, double sy) The 2d shear leaves the xy-coordinate plane for z=0 untouched.Transform2d.translate
(double tx, double ty) Transform coordinates by a vector (tx, ty).Translate coordinates by a the x and y values contained in a Point2d.