Class Transform3dTest


  • public class Transform3dTest
    extends Object
    Transform3dTest.java.

    Copyright (c) 2020-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
    • Constructor Detail

      • Transform3dTest

        public Transform3dTest()
    • Method Detail

      • testMatrixMultiplication

        public void testMatrixMultiplication()
        Test the matrix / vector multiplication.
      • testConstructor

        public void testConstructor()
        Test that the constructor creates an Identity matrix.
      • testTranslateScaleRotateShearAndReflect

        public void testTranslateScaleRotateShearAndReflect()
        Test the translate, scale, rotate, shear and reflect methods.
      • transformTest

        public void transformTest()
        Test the transform method.
      • transformBounds3dTest

        public void transformBounds3dTest()
        Test transformation of a bounding box.
      • testBoundingBox3d

        public void testBoundingBox3d()
        Reproducible test of multiple transformations on a bounding box.
      • toStringTest

        public void toStringTest()
        Check that toString returns something descriptive.
      • main

        public static void main​(String[] args)
        Check what transform does to a unit vector.
        Parameters:
        args - String[]; not used