python/liblas/file.py
def write(self, pt):
        """Writes the point to the file if it is append or write mode. LAS
        files are written sequentially starting from the first point (in pure
        write mode) or from the last point that exists (in append mode).

        :param pt: The point to write.
        :type pt: :obj:`liblas.point.Point` instance to write

        .. note::
            At this time, it is not possible to duck-type point objects and
            have them be written into the LAS file (from say numpy or
            something). You have to take care of this adaptation yourself.

        """
        if not isinstance(pt, point.Point):
            raise core.LASException('cannot write %s, it must '
                                    'be of type liblas.point.Point' % pt)
        if self.mode == 1 or self.mode == 2:
            core.las.LASWriter_WritePoint(self.handle, pt.handle)
Writes the point to the file if it is append or write mode. LAS
        files are written sequentially starting from the first point (in pure
        write mode) or from the last point that exists (in append mode).

        :param pt: The point to write.
        :type pt: :obj:`liblas.point.Point` instance to write

        .. note::
            At this time, it is not possible to duck-type point objects and
            have them be written into the LAS file (from say numpy or
            something). You have to take care of this adaptation yourself.

        
Writes the point to the file if it is append or write mode. LAS
files are written sequentially starting from the first point (in pure
write mode) or from the last point that exists (in append mode).
Writes the point to the file if it is append or write mode . LAS files are written sequentially starting from the first point ( in pure write mode ) or from the last point that exists ( in append mode ) .
def write(self, pt):
        if not isinstance(pt, point.Point):
            raise core.LASException('cannot write %s, it must '
                                    'be of type liblas.point.Point' % pt)
        if self.mode == 1 or self.mode == 2:
            core.las.LASWriter_WritePoint(self.handle, pt.handle)
def write ( self , pt ) : if not isinstance ( pt , point . Point ) : raise core . LASException ( 'cannot write %s, it must ' 'be of type liblas.point.Point' % pt ) if self . mode == 1 or self . mode == 2 : core . las . LASWriter_WritePoint ( self . handle , pt . handle )
Writes the point to the file if it is append or write mode.
Writes the point to the file if it is append or write mode .
"""Writes the point to the file if it is append or write mode. LAS
        files are written sequentially starting from the first point (in pure
        write mode) or from the last point that exists (in append mode).

        :param pt: The point to write.
        :type pt: :obj:`liblas.point.Point` instance to write

        .. note::
            At this time, it is not possible to duck-type point objects and
            have them be written into the LAS file (from say numpy or
            something). You have to take care of this adaptation yourself.

        """
self
pt
The point to write.
The point to write .