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 stream

    Methods 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.IOException
      Description copied from interface: BinaryIO
      Write the star bean to the output stream
      Parameters:
      sb - The star bean
      out - The output stream
      Throws:
      java.io.IOException