Package gaiasky.data.group
Class BinaryVersion2
java.lang.Object
gaiasky.data.group.BinaryIOBase
gaiasky.data.group.BinaryVersion2
- All Implemented Interfaces:
BinaryIO
public class BinaryVersion2 extends BinaryIOBase
Binary version 2, used in latter eDR3 runs.
Contains 6 doubles, 7 floats and 1 int (hip). It is more compact than version 0 and 1,
for only positions and velocity vectors are stored as doubles.
-
Field Summary
Fields inherited from class gaiasky.data.group.BinaryIOBase
nDoubles, nFloats, tychoIds
-
Constructor Summary
Constructors Modifier Constructor Description protected
BinaryVersion2()
-
Method Summary
Modifier and Type Method Description void
writeParticleRecord(IParticleRecord sb, java.io.DataOutputStream out)
Write the star bean to the output streamMethods inherited from class gaiasky.data.group.BinaryIOBase
readParticleRecord, readParticleRecord
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
BinaryVersion2
protected BinaryVersion2()
-
-
Method Details
-
writeParticleRecord
public void writeParticleRecord(IParticleRecord sb, java.io.DataOutputStream out) throws java.io.IOExceptionDescription copied from interface:BinaryIO
Write the star bean to the output stream- Parameters:
sb
- The star beanout
- The output stream- Throws:
java.io.IOException
-