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.
  • Constructor Details

    • BinaryVersion2

      protected BinaryVersion2()
  • Method Details

    • writeParticleRecord

      public void writeParticleRecord(IParticleRecord sb, DataOutputStream out) throws IOException
      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.