ch.hsr.worldfiletool.util
Class RotateImage

java.lang.Object
  extended by ch.hsr.worldfiletool.util.RotateImage

public class RotateImage
extends java.lang.Object

The Class RotateImage.


Constructor Summary
RotateImage()
           
 
Method Summary
static java.awt.image.BufferedImage rotate_angle(java.io.File file, double angle)
          2D image rotation with angle in deegree.
static java.awt.image.BufferedImage rotate_vectors(java.io.File file, double vecx, double vecy)
          2D image rotation with vectors.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RotateImage

public RotateImage()
Method Detail

rotate_vectors

public static java.awt.image.BufferedImage rotate_vectors(java.io.File file,
                                                          double vecx,
                                                          double vecy)
2D image rotation with vectors.

Parameters:
file - InputFile
vecx - Vector x
vecy - Vector y
Returns:
bi - BufferedImage

rotate_angle

public static java.awt.image.BufferedImage rotate_angle(java.io.File file,
                                                        double angle)
2D image rotation with angle in deegree.

Parameters:
file - InputFile
angle - Angle in deegree
Returns:
bi - BufferedImage