@loaders.gl/las 4.2.0-alpha.5 → 4.2.0-alpha.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/dist.dev.js CHANGED
@@ -18863,22 +18863,23 @@ var __exports__ = (() => {
18863
18863
  return o;
18864
18864
  }
18865
18865
  var LASLoader2 = class {
18866
+ arraybuffer;
18867
+ readOffset = 0;
18868
+ header = {
18869
+ pointsOffset: 0,
18870
+ pointsFormatId: 0,
18871
+ pointsStructSize: 0,
18872
+ pointsCount: 0,
18873
+ scale: [0, 0, 0],
18874
+ offset: [0, 0, 0],
18875
+ maxs: [0],
18876
+ mins: [0],
18877
+ totalToRead: 0,
18878
+ totalRead: 0,
18879
+ versionAsString: "",
18880
+ isCompressed: true
18881
+ };
18866
18882
  constructor(arraybuffer) {
18867
- this.readOffset = 0;
18868
- this.header = {
18869
- pointsOffset: 0,
18870
- pointsFormatId: 0,
18871
- pointsStructSize: 0,
18872
- pointsCount: 0,
18873
- scale: [0, 0, 0],
18874
- offset: [0, 0, 0],
18875
- maxs: [0],
18876
- mins: [0],
18877
- totalToRead: 0,
18878
- totalRead: 0,
18879
- versionAsString: "",
18880
- isCompressed: true
18881
- };
18882
18883
  this.arraybuffer = arraybuffer;
18883
18884
  }
18884
18885
  /**
@@ -18950,10 +18951,11 @@ var __exports__ = (() => {
18950
18951
  }
18951
18952
  };
18952
18953
  var LAZLoader = class {
18954
+ arraybuffer;
18955
+ instance = null;
18956
+ // LASZip instance
18957
+ header = null;
18953
18958
  constructor(arraybuffer) {
18954
- this.instance = null;
18955
- // LASZip instance
18956
- this.header = null;
18957
18959
  this.arraybuffer = arraybuffer;
18958
18960
  if (!Module) {
18959
18961
  Module = getModule();
@@ -19049,6 +19051,14 @@ var __exports__ = (() => {
19049
19051
  }
19050
19052
  };
19051
19053
  var LASDecoder = class {
19054
+ arrayb;
19055
+ decoder;
19056
+ pointsCount;
19057
+ pointSize;
19058
+ scale;
19059
+ offset;
19060
+ mins;
19061
+ maxs;
19052
19062
  constructor(buffer, len, header) {
19053
19063
  this.arrayb = buffer;
19054
19064
  this.decoder = POINT_FORMAT_READERS[header.pointsFormatId];
@@ -19073,12 +19083,14 @@ var __exports__ = (() => {
19073
19083
  }
19074
19084
  };
19075
19085
  var LASFile = class {
19086
+ arraybuffer;
19087
+ formatId = 0;
19088
+ loader;
19089
+ isCompressed = true;
19090
+ isOpen = false;
19091
+ version = 0;
19092
+ versionAsString = "";
19076
19093
  constructor(arraybuffer) {
19077
- this.formatId = 0;
19078
- this.isCompressed = true;
19079
- this.isOpen = false;
19080
- this.version = 0;
19081
- this.versionAsString = "";
19082
19094
  this.arraybuffer = arraybuffer;
19083
19095
  if (this.determineVersion() > 13) {
19084
19096
  throw new Error("Only file versions <= 1.3 are supported at this time");