Class OffWriter

  • All Implemented Interfaces:
    MeshWriter

    public class OffWriter
    extends Object
    implements MeshWriter

    MeshWriter implementation for OFF files

    Based on OFF definition by Princeton

    Since:
    1.2
    Author:
    Christoph Praschl
    • Constructor Detail

      • OffWriter

        public OffWriter()
    • Method Detail

      • write

        public boolean write​(JavaModel3D mesh,
                             Writer writer)
        Description copied from interface: MeshWriter
        Write a given mesh using the given writer
        Specified by:
        write in interface MeshWriter
        Parameters:
        mesh - to be written
        writer - writer used to store mesh
        Returns:
        true iff write operation was successful