parameters: (self, pt)
docstring: 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.
docstring_summary: 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).
docstring_tokens: 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 ) .
function: 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)
function_tokens: 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 )