Class BinaryVersion2
java.lang.Object
gaiasky.data.group.BinaryIOBase
gaiasky.data.group.BinaryVersion2
- All Implemented Interfaces:
BinaryIO
The binary version 2 is more compact than version 0 and 1, as it uses double precision only for positions. The rest of the attributes
(velocity vector, proper motions, radial velocity, magnitudes, color, size, HIP) use single precision.
-
Field Summary
Fields inherited from class BinaryIOBase
hipId, nDoubles, nFloats, tychoIds
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Write the star bean to the output stream.Methods inherited from class BinaryIOBase
readParticleRecord, readParticleRecord, readParticleRecord
-
Constructor Details
-
BinaryVersion2
protected BinaryVersion2()
-
-
Method Details
-
writeParticleRecord
Description copied from interface:BinaryIO
Write the star bean to the output stream.- Parameters:
sb
- The star bean.out
- The output stream.- Throws:
IOException
- If the write operation fails.
-