Open main menu

CDOT Wiki β

Changes

XB PointStream

296 bytes added, 16:30, 23 November 2010
Parser Interface
/*
Returns Get the version of this parser.
@returns {String} parser version
/*
Get the number of points which have been parsed.  @returns {Number} the number of points parsed so far by the parser.
*/
getNumParsedPoints()
/*
Get the total number of points in the point cloud, including points which have not yet been parsed.  @returns {Number} the total number of points in the resource or -1 if unknown.
*/
getNumTotalPoints()
/*
Get the progress of the parser, how much it has parsed so far.  @returns {Number} value from 0 to 1or -1 if unknown.
*/
getProgress()
/*
The size of the resource in bytes.  @returns {Number} the number of bytes of in the resourceor -1 if unknown.
*/
getFileSize()
1
edit