net.grelf.grip
Class Gnomonic

java.lang.Object
  extended by net.grelf.grip.Gnomonic

public class Gnomonic
extends java.lang.Object

Performs gnomonic projections and inverse gnomonic projections. Image size is generally enlarged so that the projected image is not clipped.


Constructor Summary
Gnomonic()
           
 
Method Summary
static java.awt.image.BufferedImage inverseProjection(java.awt.image.BufferedImage src, int focalLength)
          Project from plane to sphere.
static void inverseProjection(ImFrame imf)
          Project from plane to sphere.
static java.awt.image.BufferedImage projection(java.awt.image.BufferedImage src, int focalLength)
          Project from sphere to plane.
static void projection(ImFrame imf)
          Project from sphere to plane.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Gnomonic

public Gnomonic()
Method Detail

inverseProjection

public static void inverseProjection(ImFrame imf)
Project from plane to sphere.


inverseProjection

public static java.awt.image.BufferedImage inverseProjection(java.awt.image.BufferedImage src,
                                                             int focalLength)
Project from plane to sphere.


projection

public static void projection(ImFrame imf)
Project from sphere to plane.


projection

public static java.awt.image.BufferedImage projection(java.awt.image.BufferedImage src,
                                                      int focalLength)
Project from sphere to plane.