Package demo
Class TransformDemos
java.lang.Object
demo.TransformDemos
TransformDemos.java.
Copyright (c) 2021-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See DJUTILS License.
- Author:
- Alexander Verbraeck, Peter Knoppers
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
Demonstrate the transformations.static void
scale()
Demonstrate scale.static void
shear2d()
Demonstrate 2D shear.static void
shear3d()
Demonstrate 3d shear.static void
Demonstrate transforming of iterator of Point.static void
Demonstrate translate and rotate.
-
Method Details
-
main
Demonstrate the transformations.- Parameters:
args
- String...; the command line arguments (not used)
-
translateAndRotate
public static void translateAndRotate()Demonstrate translate and rotate. -
shear2d
public static void shear2d()Demonstrate 2D shear. -
shear3d
public static void shear3d()Demonstrate 3d shear. -
scale
public static void scale()Demonstrate scale. -
transformPolyLine
public static void transformPolyLine()Demonstrate transforming of iterator of Point.
-