Class PlyFormat


  • public class PlyFormat
    extends FileFormat
    The PLY format.
    • Method Detail

      • encodeMesh

        public void encodeMesh​(IMeshConvertible mesh,
                               com.aspose.csporter.helpers.Stream stream,
                               PlySaveOptions opt)
                        throws java.io.IOException
        Encode the mesh and save the result into the stream.
        Parameters:
        mesh - The mesh to encode
        stream - The stream to write to, this method will not close this stream
        opt - Save options
        Throws:
        java.io.IOException
      • encodeMesh

        public void encodeMesh​(IMeshConvertible mesh,
                               com.aspose.csporter.helpers.Stream stream)
                        throws java.io.IOException
        Encode the mesh and save the result into the stream.
        Parameters:
        mesh - The mesh to encode
        stream - The stream to write to, this method will not close this stream
        Throws:
        java.io.IOException
      • encodeMesh

        public void encodeMesh​(IMeshConvertible mesh,
                               java.lang.String fileName,
                               PlySaveOptions opt)
                        throws java.io.IOException
        Encode the mesh and save the result into an external file.
        Parameters:
        mesh - The mesh to encode
        fileName - The file to write to
        opt - Save options
        Throws:
        java.io.IOException
      • encodeMesh

        public void encodeMesh​(IMeshConvertible mesh,
                               java.lang.String fileName)
                        throws java.io.IOException
        Encode the mesh and save the result into an external file.
        Parameters:
        mesh - The mesh to encode
        fileName - The file to write to
        Throws:
        java.io.IOException