Changeset 658

Show
Ignore:
Timestamp:
05/03/08 02:22:17 (14 months ago)
Author:
hobu
Message:

doc updates

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/include/liblas/capi/liblas.h

    r657 r658  
    100100 
    101101 
    102 /// Fetches the compiled-in version string 
    103 /// @return the version string for this library 
     102/// Returns the version string for this library. 
     103/// @return the version string for this library. 
    104104LAS_DLL const char* LAS_GetVersion(); 
    105105 
     
    111111 
    112112/// Returns the error number of the last error on the error stack. 
     113/// @return the error number of the last error on the error stack. 
    113114LAS_DLL LASError LASError_GetLastErrorNum(void); 
    114115 
    115 /// Returns the error message of the last error on the error stack. 
     116/// Returns the name of the method the last error message happened in. 
     117/// @return the name of the method the last error message happened in. 
    116118LAS_DLL char * LASError_GetLastErrorMsg(void); 
    117119 
    118 /// Returns the name of the method the last error message happened in 
     120/// Returns the name of the method the last error message happened in. 
     121/// @return the name of the method the last error message happened in. 
    119122LAS_DLL char * LASError_GetLastErrorMethod(void); 
    120123 
    121124/// Returns the number of error messages on the error stack. 
     125/// @return the number of error messages on the error stack. 
    122126LAS_DLL int LASError_GetErrorCount(void); 
    123127 
     
    131135/// LASPointH objects with.  The LASReaderH must not be created with a  
    132136/// filename that is opened for read or write by any other API functions. 
    133 /// @return LASReaderH opaque pointer to a LASReader instance. 
     137/// @return opaque pointer to a LASReaderH instance. 
    134138/// @param filename Filename to open for read  
    135139LAS_DLL LASReaderH LASReader_Create(const char * filename); 
    136140 
     141/// Reads the next available point on the LASReaderH instance.  If no point  
     142/// is available to read, NULL is returned.  If an error happens during  
     143/// the reading of the next available point, an error will be added to the  
     144/// error stack and can be returned with the LASError_GetLastError* methods. 
     145/// @param hReader the opaque handle to the LASReaderH  
     146/// @return an opaque handle to a LASPointH object, or NULL if no point is  
     147/// available to read or an error occured.  Use the  
     148/// LASError_GetLastError* methods to confirm the existence of an error  
     149/// if NULL is returned. 
    137150LAS_DLL LASPointH LASReader_GetNextPoint(const LASReaderH hReader); 
     151 
     152/// Reads a LASPointH from the given position in the LAS file represented  
     153/// by the LASReaderH instance.  If no point is available at that location,  
     154/// NULL is returned.  If an error happens during the reading of the point,  
     155/// an error will be added to the error stack and can be returned with the  
     156/// LASError_GetLastError* methods. 
     157/// @param hReader the opaque handle to the LASReaderH 
     158/// @param position the integer position of the point in the file to read. 
     159/// @return an opaque handle to a LASPointH object, or NULL if no point is  
     160/// available at the given location or an error occured.  Use the  
     161/// LASError_GetLastError* methods to confirm the existence of an error  
     162/// if NULL is returned. 
    138163LAS_DLL LASPointH LASReader_GetPointAt(const LASReaderH hReader, uint32_t position); 
    139164