Facemorph.psm
Class PointImage

java.lang.Object
  extended by Facemorph.psm.PointImage

public class PointImage
extends java.lang.Object

Stores a set of 2D array of points 1 for every image pixel


Constructor Summary
PointImage(int w, int h)
          Constructor
 
Method Summary
 java.awt.geom.Point2D.Float get(int x, int y)
          Get method
 void set(int x, int y, java.awt.geom.Point2D.Float p)
          Set method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PointImage

public PointImage(int w,
                  int h)
Constructor

Parameters:
w - width
h - height
Method Detail

get

public java.awt.geom.Point2D.Float get(int x,
                                       int y)
Get method

Parameters:
x - x
y - y
Returns:
return the point at location (x,y)

set

public void set(int x,
                int y,
                java.awt.geom.Point2D.Float p)
Set method

Parameters:
x - x
y - y
p - the new value at (x,y)