Package demo

Class TransformDemos


  • public final class TransformDemos
    extends Object
    TransformDemos.java.

    Copyright (c) 2021-2021 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 Detail

      • main

        public static void main​(String... args)
        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.