Changeset 658
- Timestamp:
- 05/03/08 02:22:17 (14 months ago)
- Files:
-
- 1 modified
-
trunk/include/liblas/capi/liblas.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/liblas/capi/liblas.h
r657 r658 100 100 101 101 102 /// Fetches the compiled-in version string103 /// @return the version string for this library 102 /// Returns the version string for this library. 103 /// @return the version string for this library. 104 104 LAS_DLL const char* LAS_GetVersion(); 105 105 … … 111 111 112 112 /// 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. 113 114 LAS_DLL LASError LASError_GetLastErrorNum(void); 114 115 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. 116 118 LAS_DLL char * LASError_GetLastErrorMsg(void); 117 119 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. 119 122 LAS_DLL char * LASError_GetLastErrorMethod(void); 120 123 121 124 /// Returns the number of error messages on the error stack. 125 /// @return the number of error messages on the error stack. 122 126 LAS_DLL int LASError_GetErrorCount(void); 123 127 … … 131 135 /// LASPointH objects with. The LASReaderH must not be created with a 132 136 /// filename that is opened for read or write by any other API functions. 133 /// @return LASReaderH opaque pointer to a LASReaderinstance.137 /// @return opaque pointer to a LASReaderH instance. 134 138 /// @param filename Filename to open for read 135 139 LAS_DLL LASReaderH LASReader_Create(const char * filename); 136 140 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. 137 150 LAS_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. 138 163 LAS_DLL LASPointH LASReader_GetPointAt(const LASReaderH hReader, uint32_t position); 139 164
