Class StarGroupBinaryIO

  • All Implemented Interfaces:

    public class StarGroupBinaryIO
    extends java.lang.Object
    implements IStarGroupIO
    Loads and writes star groups
    • Constructor Detail

      • StarGroupBinaryIO

        public StarGroupBinaryIO()
    • Method Detail

      • writeParticles

        public void writeParticles​(java.util.List<SceneGraphNode> list,
        Writes the list to the output stream. The list must contain a single star group.
        Specified by:
        writeParticles in interface IStarGroupIO
        list - The list with the star group to write
        out - The output stream to write to
      • readParticles

        public java.util.List<SceneGraphNode> readParticles​( in)
        Reads a single star group from the given input stream.
        Specified by:
        readParticles in interface IStarGroupIO
        in - The input stream to read the star group from
        A list with a single star group object