ucar.nc2.iosp.sigmet
Class Ray

java.lang.Object
  extended by ucar.nc2.iosp.sigmet.Ray

public class Ray
extends Object

Created by IntelliJ IDEA. User: yuanho Date: Apr 7, 2010 Time: 2:27:35 PM To change this template use File | Settings | File Templates.


Constructor Summary
Ray(float range, float step, float az, float elev, short bins, short time, int offset, int dataRead, int offset1, int nsweep, String name, short datatype)
           
 
Method Summary
 boolean equals(Object o)
           
 float getAz()
           
 short getBins()
           
 int getDataRead()
           
 short getDataType()
           
 float getElev()
           
 String getName()
           
 int getNsweep()
           
 int getOffset()
           
 int getOffset1()
           
 float getRange()
           
 float getStep()
           
 short getTime()
           
 int hashCode()
           
 void readData(RandomAccessFile raf, Range gateRange, IndexIterator ii)
          Read data from this record.
 void setAz(float az)
           
 void setBins(short bins)
           
 void setDataRead(int dataRead)
           
 void setDataType(short datatype)
           
 void setElev(float elev)
           
 void setName(String name)
           
 void setNsweep(int nsweep)
           
 void setOffset(int offset)
           
 void setOffset1(int offset1)
           
 void setRange(float range)
           
 void setStep(float step)
           
 void setTime(short time)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Ray

public Ray(float range,
           float step,
           float az,
           float elev,
           short bins,
           short time,
           int offset,
           int dataRead,
           int offset1,
           int nsweep,
           String name,
           short datatype)
Method Detail

getDataType

public short getDataType()

setDataType

public void setDataType(short datatype)

getRange

public float getRange()

setRange

public void setRange(float range)

getStep

public float getStep()

setStep

public void setStep(float step)

getNsweep

public int getNsweep()

setNsweep

public void setNsweep(int nsweep)

getAz

public float getAz()

setAz

public void setAz(float az)

getElev

public float getElev()

setElev

public void setElev(float elev)

getBins

public short getBins()

setBins

public void setBins(short bins)

getTime

public short getTime()

setTime

public void setTime(short time)

getOffset

public int getOffset()

setOffset

public void setOffset(int offset)

getDataRead

public int getDataRead()

setDataRead

public void setDataRead(int dataRead)

getOffset1

public int getOffset1()

setOffset1

public void setOffset1(int offset1)

setName

public void setName(String name)

getName

public String getName()

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

readData

public void readData(RandomAccessFile raf,
                     Range gateRange,
                     IndexIterator ii)
              throws IOException
Read data from this record.

Parameters:
raf - read from this file
gateRange - handles the possible subset of data to return
ii - put the data here
Throws:
IOException - on read error


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