* Object for handling the 3DTILES_batch_table_hierarchy extension * * @param {object} options Object with the following properties: * @param {object} options.extension The 3DTILES_batch_table_hierarchy extension object. * @param {Uint8Array} [options.binaryBody] The bin
(options)
| 21 | * @private |
| 22 | */ |
| 23 | function BatchTableHierarchy(options) { |
| 24 | this._classes = undefined; |
| 25 | this._classIds = undefined; |
| 26 | this._classIndexes = undefined; |
| 27 | this._parentCounts = undefined; |
| 28 | this._parentIndexes = undefined; |
| 29 | this._parentIds = undefined; |
| 30 | |
| 31 | // Total memory used by the typed arrays |
| 32 | this._byteLength = 0; |
| 33 | |
| 34 | //>>includeStart('debug', pragmas.debug); |
| 35 | Check.typeOf.object("options.extension", options.extension); |
| 36 | //>>includeEnd('debug'); |
| 37 | |
| 38 | initialize(this, options.extension, options.binaryBody); |
| 39 | |
| 40 | //>>includeStart('debug', pragmas.debug); |
| 41 | validateHierarchy(this); |
| 42 | //>>includeEnd('debug'); |
| 43 | } |
| 44 | |
| 45 | Object.defineProperties(BatchTableHierarchy.prototype, { |
| 46 | byteLength: { |
nothing calls this directly
no test coverage detected
searching dependent graphs…