ucar.nc2.iosp.sigmet
Class Ray
java.lang.Object
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)
|
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)
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 filegateRange
- handles the possible subset of data to returnii
- put the data here
- Throws:
IOException
- on read error
Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.