Documentation of 'math.geom3d.transform.AffineTransform3D' Java class
AffineTransform3D
math.geom3d.transform

Class AffineTransform3D

    • Constructor Detail

      • AffineTransform3D

        public AffineTransform3D()
        Creates a new affine transform3D set to identity
      • AffineTransform3D

        public AffineTransform3D(double[] coefs)
      • AffineTransform3D

        public AffineTransform3D(double xx,
                                 double yx,
                                 double zx,
                                 double tx,
                                 double xy,
                                 double yy,
                                 double zy,
                                 double ty,
                                 double xz,
                                 double yz,
                                 double zz,
                                 double tz)
    • Method Detail

      • createTranslation

        public static final AffineTransform3D createTranslation(double x,
                                                                double y,
                                                                double z)
      • createRotationOx

        public static final AffineTransform3D createRotationOx(double theta)
      • createRotationOy

        public static final AffineTransform3D createRotationOy(double theta)
      • createRotationOz

        public static final AffineTransform3D createRotationOz(double theta)
      • createScaling

        public static final AffineTransform3D createScaling(double sx,
                                                            double sy,
                                                            double sz)
      • isIdentity

        public boolean isIdentity()
      • coefficients

        public double[] coefficients()
        Returns the affine coefficients of the transform. Result is an array of 12 double.
      • transform

        public void transform(AffineTransform3D trans)
        Combines this transform with another AffineTransform.
      • preConcatenate

        public void preConcatenate(AffineTransform3D trans)
        Combines this transform with another AffineTransform.
      • transformPoints

        public Point3D[] transformPoints(Point3D[] src,
                                         Point3D[] dst)
        Transforms the input point array, stores the result in the pre-allocated array, and returns a pointer to the result array. A new array is created if res is null or has length smaller than of src.
        Specified by:
        transformPoints in interface Transform3D
      • equals

        public boolean equals(java.lang.Object obj)
        Compares two transforms. Returns true if all inner fields are equal up to the precision given by Shape3D.ACCURACY.
        Overrides:
        equals in class java.lang.Object

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.