ucar.jpeg.icc.types
Class XYZNumber

java.lang.Object
  extended by ucar.jpeg.icc.types.XYZNumber

public class XYZNumber
extends Object

A convientient representation for the contents of the ICCXYZTypeTag class.

Version:
1.0
Author:
Bruce A. Kern
See Also:
jj2000.j2k.icc.tags.ICCXYZType

Field Summary
 int dwX
          x value
 int dwY
          y value
 int dwZ
          z value
static int size
           
 
Constructor Summary
XYZNumber(int x, int y, int z)
          Construct from constituent parts.
 
Method Summary
static int DoubleToXYZ(double x)
          Normalization utility
 String toString()
          String representation of class instance.
 void write(RandomAccessFile raf)
          Write to a file
static double XYZToDouble(int x)
          Normalization utility
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

size

public static final int size
See Also:
Constant Field Values

dwX

public int dwX
x value


dwY

public int dwY
y value


dwZ

public int dwZ
z value

Constructor Detail

XYZNumber

public XYZNumber(int x,
                 int y,
                 int z)
Construct from constituent parts.

Method Detail

DoubleToXYZ

public static int DoubleToXYZ(double x)
Normalization utility


XYZToDouble

public static double XYZToDouble(int x)
Normalization utility


write

public void write(RandomAccessFile raf)
           throws IOException
Write to a file

Throws:
IOException

toString

public String toString()
String representation of class instance.

Overrides:
toString in class Object


Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.