Class Las

  • Direct Known Subclasses:
    ALasReader, ALasWriter

    public abstract class Las
    extends Object
    Las superclass.
    Author:
    Andrea Antonello (www.hydrologis.com)
    • Constructor Detail

      • Las

        public Las()
    • Method Detail

      • getReader

        public static ALasReader getReader​(File lasFile)
                                    throws Exception
        Get a las reader.
        Parameters:
        lasFile - the file to read.
        Returns:
        the las reader.
        Throws:
        Exception - if something goes wrong.
      • getReader

        public static ALasReader getReader​(File lasFile,
                                           org.opengis.referencing.crs.CoordinateReferenceSystem crs)
                                    throws Exception
        Get a las reader.
        Parameters:
        lasFile - the file to read.
        crs - the CoordinateReferenceSystem.
        Returns:
        the las reader.
        Throws:
        Exception - if something goes wrong.
      • getWriter

        public static ALasWriter getWriter​(File lasFile,
                                           org.opengis.referencing.crs.CoordinateReferenceSystem crs)
                                    throws Exception
        Get a las writer.
        Parameters:
        lasFile - the file to write.
        crs - the CoordinateReferenceSystem to be written in the prj.
        Returns:
        the las writer.
        Throws:
        Exception - if something goes wrong.