Package demo
Class TransformDemos
java.lang.Object
demo.TransformDemos
TransformDemos.java.
Copyright (c) 2021-2025 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, Wouter Schakel
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidDemonstrate the transformations.static voidscale()Demonstrate scale.static voidshear2d()Demonstrate 2D shear.static voidshear3d()Demonstrate 3d shear.static voidDemonstrate transforming of iterator of Point.static voidDemonstrate translate and rotate.
-
Method Details
-
main
Demonstrate the transformations.- Parameters:
args- 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.
-