public class Ray
extends java.lang.Object
Constructor and Description |
---|
Ray(float range,
float step,
float az,
float elev,
short bins,
short time,
int offset,
int dataRead,
int offset1,
int nsweep,
java.lang.String name,
short datatype) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
float |
getAz() |
short |
getBins() |
int |
getDataRead() |
short |
getDataType() |
float |
getElev() |
java.lang.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(java.lang.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) |
java.lang.String |
toString() |
public Ray(float range, float step, float az, float elev, short bins, short time, int offset, int dataRead, int offset1, int nsweep, java.lang.String name, short datatype)
public short getDataType()
public void setDataType(short datatype)
public float getRange()
public void setRange(float range)
public float getStep()
public void setStep(float step)
public int getNsweep()
public void setNsweep(int nsweep)
public float getAz()
public void setAz(float az)
public float getElev()
public void setElev(float elev)
public short getBins()
public void setBins(short bins)
public short getTime()
public void setTime(short time)
public int getOffset()
public void setOffset(int offset)
public int getDataRead()
public void setDataRead(int dataRead)
public int getOffset1()
public void setOffset1(int offset1)
public void setName(java.lang.String name)
public java.lang.String getName()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public void readData(RandomAccessFile raf, Range gateRange, IndexIterator ii) throws java.io.IOException
raf
- read from this filegateRange
- handles the possible subset of data to returnii
- put the data herejava.io.IOException
- on read error