@navaramap/engine 0.0.6 → 0.0.7

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/navara_wasm.d.ts CHANGED
@@ -550,6 +550,10 @@ export class ConstructedPolygonOutlineGeometry {
550
550
  batch_index(): Float32Array | undefined;
551
551
  batch_index_size(): number | undefined;
552
552
  position(): Float32Array;
553
+ position_3d_high(): Float32Array | undefined;
554
+ position_3d_high_size(): number | undefined;
555
+ position_3d_low(): Float32Array | undefined;
556
+ position_3d_low_size(): number | undefined;
553
557
  position_size(): number;
554
558
  scale_normal_and_cap(): Float32Array;
555
559
  scale_normal_and_cap_size(): number;
@@ -654,6 +658,14 @@ export class Core {
654
658
  * through the per-slot material path).
655
659
  */
656
660
  getRasterTileStates(handle: bigint): RasterTileState[];
661
+ /**
662
+ * Read back a stored source as the plain description object `addSource`
663
+ * accepts — including engine defaults and partial-update merges (inline
664
+ * GeoJSON `data` is not read back). `undefined` for unknown ids. Used by
665
+ * `view.sampleTerrainMostDetailed` to sample against the exact config
666
+ * the view renders with.
667
+ */
668
+ getSourceDescription(source_id: string): any;
657
669
  getTile(handle: bigint): TransferableTile | undefined;
658
670
  getTileElevationDecoder(handle: bigint): ElevationDecoder | undefined;
659
671
  getTransferablePolygonBatchedFeature(batched_feature_id: bigint): ReturnedTransferablePolygonBatchedFeature | undefined;
@@ -959,6 +971,13 @@ export class EllipsoidGeodesic {
959
971
  interpolateDistance(distance: number): LLE;
960
972
  interpolateGeodeticPoints(granularity?: number | null): LLE[];
961
973
  constructor(start: LLE, end: LLE);
974
+ /**
975
+ * Whether Vincenty's inverse iteration converged. `false` for
976
+ * near-antipodal endpoints, where `distance` is only a rough estimate
977
+ * and interpolation snaps to the endpoints instead of following the
978
+ * (unreliable) capped solution.
979
+ */
980
+ converged: boolean;
962
981
  distance: number;
963
982
  end_heading: number;
964
983
  end: LLE;
@@ -3039,9 +3058,13 @@ export class TransferablePolygonGeometry {
3039
3058
  export class TransferablePolygonOutlineGeometry {
3040
3059
  free(): void;
3041
3060
  [Symbol.dispose](): void;
3042
- constructor(position?: TransferableFloatAttribute | null, scale_normal_and_cap?: TransferableFloatAttribute | null, skip_indices?: number | null, batch_index?: TransferableFloatAttribute | null);
3061
+ constructor(position?: TransferableFloatAttribute | null, position_3d_high?: TransferableFloatAttribute | null, position_3d_low?: TransferableFloatAttribute | null, scale_normal_and_cap?: TransferableFloatAttribute | null, skip_indices?: number | null, batch_index?: TransferableFloatAttribute | null);
3043
3062
  get batch_index(): TransferableFloatAttribute | undefined;
3044
3063
  set batch_index(value: TransferableFloatAttribute | null | undefined);
3064
+ get position_3d_high(): TransferableFloatAttribute | undefined;
3065
+ set position_3d_high(value: TransferableFloatAttribute | null | undefined);
3066
+ get position_3d_low(): TransferableFloatAttribute | undefined;
3067
+ set position_3d_low(value: TransferableFloatAttribute | null | undefined);
3045
3068
  get position(): TransferableFloatAttribute | undefined;
3046
3069
  set position(value: TransferableFloatAttribute | null | undefined);
3047
3070
  get scale_normal_and_cap(): TransferableFloatAttribute | undefined;
@@ -3840,6 +3863,7 @@ export interface InitOutput {
3840
3863
  readonly __wbg_set_transferablepolygongeometry_normal: (a: number, b: number) => void;
3841
3864
  readonly __wbg_set_transferablepolygongeometry_scale_normal_and_cap: (a: number, b: number) => void;
3842
3865
  readonly __wbg_set_transferablepolygonoutlinegeometry_batch_index: (a: number, b: number) => void;
3866
+ readonly __wbg_set_transferablepolygonoutlinegeometry_skip_indices: (a: number, b: number) => void;
3843
3867
  readonly __wbg_set_transferablepolylinegeometry_batch_ids: (a: number, b: number) => void;
3844
3868
  readonly __wbg_set_transferablepolylinegeometry_batch_index: (a: number, b: number) => void;
3845
3869
  readonly __wbg_set_transferablepolylinegeometry_end_low: (a: number, b: number) => void;
@@ -3930,6 +3954,7 @@ export interface InitOutput {
3930
3954
  readonly core_getMemoryStats: (a: number) => number;
3931
3955
  readonly core_getParentTile: (a: number, b: bigint) => number;
3932
3956
  readonly core_getRasterTileStates: (a: number, b: bigint) => [number, number];
3957
+ readonly core_getSourceDescription: (a: number, b: number, c: number) => any;
3933
3958
  readonly core_getTile: (a: number, b: bigint) => number;
3934
3959
  readonly core_getTileElevationDecoder: (a: number, b: bigint) => number;
3935
3960
  readonly core_getTransferablePolygonBatchedFeature: (a: number, b: bigint) => number;
@@ -4051,7 +4076,7 @@ export interface InitOutput {
4051
4076
  readonly transferablefloatattribute_new: (a: number, b: number) => number;
4052
4077
  readonly transferablegeometry_new: (a: number, b: number, c: number) => number;
4053
4078
  readonly transferablepolygongeometry_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
4054
- readonly transferablepolygonoutlinegeometry_new: (a: number, b: number, c: number, d: number) => number;
4079
+ readonly transferablepolygonoutlinegeometry_new: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
4055
4080
  readonly transferablepolylinegeometry_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number) => number;
4056
4081
  readonly upsampleterrainmeshparameters_new: (a: bigint, b: number, c: number) => number;
4057
4082
  readonly __wbg_set_datarequesterremovedevent_bits: (a: number, b: bigint) => void;
@@ -4064,6 +4089,8 @@ export interface InitOutput {
4064
4089
  readonly __wbg_set_vectortilestate_tile_handle: (a: number, b: bigint) => void;
4065
4090
  readonly __wbg_get_transferablepolygongeometry_position_3d_high: (a: number) => number;
4066
4091
  readonly __wbg_get_transferablepolygongeometry_position_3d_low: (a: number) => number;
4092
+ readonly __wbg_get_transferablepolygonoutlinegeometry_position_3d_high: (a: number) => number;
4093
+ readonly __wbg_get_transferablepolygonoutlinegeometry_position_3d_low: (a: number) => number;
4067
4094
  readonly __wbg_get_transferablepolygonoutlinegeometry_scale_normal_and_cap: (a: number) => number;
4068
4095
  readonly __wbg_get_transferablepolylinegeometry_forward_offset: (a: number) => number;
4069
4096
  readonly __wbg_get_transferablepolylinegeometry_position_low: (a: number) => number;
@@ -4132,6 +4159,8 @@ export interface InitOutput {
4132
4159
  readonly __wbg_set_transferablepolylinegeometry_position_high: (a: number, b: number) => void;
4133
4160
  readonly __wbg_set_transferablepolylinegeometry_forward_offset: (a: number, b: number) => void;
4134
4161
  readonly __wbg_set_transferablepolygonoutlinegeometry_scale_normal_and_cap: (a: number, b: number) => void;
4162
+ readonly __wbg_set_transferablepolygonoutlinegeometry_position_3d_low: (a: number, b: number) => void;
4163
+ readonly __wbg_set_transferablepolygonoutlinegeometry_position_3d_high: (a: number, b: number) => void;
4135
4164
  readonly __wbg_set_transferablepolygonoutlinegeometry_position: (a: number, b: number) => void;
4136
4165
  readonly __wbg_set_transferableuintattribute_size: (a: number, b: number) => void;
4137
4166
  readonly __wbg_set_renderablefeaturechangedevent_overscaled_tile_handle: (a: number, b: number) => void;
@@ -4182,7 +4211,6 @@ export interface InitOutput {
4182
4211
  readonly __wbg_get_transferablepointgeometry_position: (a: number) => number;
4183
4212
  readonly __wbg_get_transferablepolygongeometry_position: (a: number) => number;
4184
4213
  readonly __wbg_get_transferablepolylinegeometry_position_high: (a: number) => number;
4185
- readonly __wbg_set_transferablepolygonoutlinegeometry_skip_indices: (a: number, b: number) => void;
4186
4214
  readonly __wbg_get_transferablepolygonoutlinegeometry_position: (a: number) => number;
4187
4215
  readonly __wbg_transferableuintattribute_free: (a: number, b: number) => void;
4188
4216
  readonly __wbg_get_transferableuintattribute_size: (a: number) => number;
@@ -4297,11 +4325,10 @@ export interface InitOutput {
4297
4325
  readonly __wbg_get_elevationdecoder_max_offset: (a: number) => number;
4298
4326
  readonly __wbg_get_elevationdecoder_min_offset: (a: number) => number;
4299
4327
  readonly __wbg_get_elevationheatmapmaterial_logarithmic: (a: number) => number;
4300
- readonly __wbg_get_ellipsoidgeodesic_distance: (a: number) => number;
4328
+ readonly __wbg_get_ellipsoidgeodesic_converged: (a: number) => number;
4301
4329
  readonly __wbg_get_ellipsoidgeodesic_end: (a: number) => number;
4302
4330
  readonly __wbg_get_ellipsoidgeodesic_end_heading: (a: number) => number;
4303
4331
  readonly __wbg_get_ellipsoidgeodesic_start: (a: number) => number;
4304
- readonly __wbg_get_ellipsoidgeodesic_start_heading: (a: number) => number;
4305
4332
  readonly __wbg_get_extentradianf32_east: (a: number) => number;
4306
4333
  readonly __wbg_get_extentradianf32_north: (a: number) => number;
4307
4334
  readonly __wbg_get_extentradianf32_south: (a: number) => number;
@@ -4319,7 +4346,6 @@ export interface InitOutput {
4319
4346
  readonly __wbg_get_hillshadematerial_exaggeration: (a: number) => number;
4320
4347
  readonly __wbg_get_modelinternalmaterial_dracoCompressed: (a: number) => number;
4321
4348
  readonly __wbg_get_modelinternalmaterial_pointCloud: (a: number) => number;
4322
- readonly __wbg_get_modelinternalmaterial_pointCloudGeodeticNormal: (a: number) => number;
4323
4349
  readonly __wbg_get_modelmaterial___internal__: (a: number) => number;
4324
4350
  readonly __wbg_get_modelmaterial_animationActiveClip: (a: number) => [number, number];
4325
4351
  readonly __wbg_get_modelmaterial_animationSpeed: (a: number) => number;
@@ -4407,7 +4433,6 @@ export interface InitOutput {
4407
4433
  readonly __wbg_get_rastermaterial_showBoundingBox: (a: number) => number;
4408
4434
  readonly __wbg_get_rastertileinternalmaterial_castShadow: (a: number) => number;
4409
4435
  readonly __wbg_get_rastertileinternalmaterial_colors: (a: number) => [number, number];
4410
- readonly __wbg_get_rastertileinternalmaterial_elevationEpsilon: (a: number) => number;
4411
4436
  readonly __wbg_get_rastertileinternalmaterial_elevationOffset: (a: number) => number;
4412
4437
  readonly __wbg_get_rastertileinternalmaterial_hillshadeBScaler: (a: number) => number;
4413
4438
  readonly __wbg_get_rastertileinternalmaterial_hillshadeBoundary: (a: number) => number;
@@ -4527,11 +4552,8 @@ export interface InitOutput {
4527
4552
  readonly __wbg_set_elevationdecoder_max_offset: (a: number, b: number) => void;
4528
4553
  readonly __wbg_set_elevationdecoder_min_offset: (a: number, b: number) => void;
4529
4554
  readonly __wbg_set_elevationheatmapmaterial_logarithmic: (a: number, b: number) => void;
4530
- readonly __wbg_set_ellipsoidgeodesic_distance: (a: number, b: number) => void;
4531
- readonly __wbg_set_ellipsoidgeodesic_end: (a: number, b: number) => void;
4555
+ readonly __wbg_set_ellipsoidgeodesic_converged: (a: number, b: number) => void;
4532
4556
  readonly __wbg_set_ellipsoidgeodesic_end_heading: (a: number, b: number) => void;
4533
- readonly __wbg_set_ellipsoidgeodesic_start: (a: number, b: number) => void;
4534
- readonly __wbg_set_ellipsoidgeodesic_start_heading: (a: number, b: number) => void;
4535
4557
  readonly __wbg_set_extentradianf32_east: (a: number, b: number) => void;
4536
4558
  readonly __wbg_set_extentradianf32_north: (a: number, b: number) => void;
4537
4559
  readonly __wbg_set_extentradianf32_south: (a: number, b: number) => void;
@@ -4636,7 +4658,6 @@ export interface InitOutput {
4636
4658
  readonly __wbg_set_rastermaterial_showBoundingBox: (a: number, b: number) => void;
4637
4659
  readonly __wbg_set_rastertileinternalmaterial_castShadow: (a: number, b: number) => void;
4638
4660
  readonly __wbg_set_rastertileinternalmaterial_colors: (a: number, b: number, c: number) => void;
4639
- readonly __wbg_set_rastertileinternalmaterial_elevationEpsilon: (a: number, b: number) => void;
4640
4661
  readonly __wbg_set_rastertileinternalmaterial_elevationOffset: (a: number, b: number) => void;
4641
4662
  readonly __wbg_set_rastertileinternalmaterial_hillshadeBScaler: (a: number, b: number) => void;
4642
4663
  readonly __wbg_set_rastertileinternalmaterial_hillshadeBoundary: (a: number, b: number) => void;
@@ -4730,6 +4751,10 @@ export interface InitOutput {
4730
4751
  readonly constructedpolygonoutlinegeometry_batch_index: (a: number) => any;
4731
4752
  readonly constructedpolygonoutlinegeometry_batch_index_size: (a: number) => number;
4732
4753
  readonly constructedpolygonoutlinegeometry_position: (a: number) => any;
4754
+ readonly constructedpolygonoutlinegeometry_position_3d_high: (a: number) => any;
4755
+ readonly constructedpolygonoutlinegeometry_position_3d_high_size: (a: number) => number;
4756
+ readonly constructedpolygonoutlinegeometry_position_3d_low: (a: number) => any;
4757
+ readonly constructedpolygonoutlinegeometry_position_3d_low_size: (a: number) => number;
4733
4758
  readonly constructedpolygonoutlinegeometry_position_size: (a: number) => number;
4734
4759
  readonly constructedpolygonoutlinegeometry_scale_normal_and_cap: (a: number) => any;
4735
4760
  readonly constructedpolygonoutlinegeometry_scale_normal_and_cap_size: (a: number) => number;
@@ -4974,6 +4999,9 @@ export interface InitOutput {
4974
4999
  readonly __wbg_get_textmaterial_outlineColor: (a: number) => number;
4975
5000
  readonly __wbg_get_textmaterial_color: (a: number) => number;
4976
5001
  readonly __wbg_get_pointmaterial_color: (a: number) => number;
5002
+ readonly __wbg_get_rastertileinternalmaterial_elevationMinOffset: (a: number) => number;
5003
+ readonly __wbg_get_rastertileinternalmaterial_elevationEpsilon: (a: number) => number;
5004
+ readonly __wbg_get_rastertileinternalmaterial_elevationMaxOffset: (a: number) => number;
4977
5005
  readonly __wbg_get_tilexyz_x: (a: number) => number;
4978
5006
  readonly __wbg_get_vec2_y: (a: number) => number;
4979
5007
  readonly __wbg_get_vec3_z: (a: number) => number;
@@ -5008,8 +5036,8 @@ export interface InitOutput {
5008
5036
  readonly __wbg_get_rastertileinternalmaterial_elevationBoundary: (a: number) => number;
5009
5037
  readonly __wbg_get_rastertileinternalmaterial_elevationBScaler: (a: number) => number;
5010
5038
  readonly __wbg_get_elevationdecoder_g_scaler: (a: number) => number;
5011
- readonly __wbg_get_rastertileinternalmaterial_elevationMinOffset: (a: number) => number;
5012
- readonly __wbg_get_rastertileinternalmaterial_elevationMaxOffset: (a: number) => number;
5039
+ readonly __wbg_get_ellipsoidgeodesic_start_heading: (a: number) => number;
5040
+ readonly __wbg_get_ellipsoidgeodesic_distance: (a: number) => number;
5013
5041
  readonly __wbg_get_elevationdecoder_b_scaler: (a: number) => number;
5014
5042
  readonly __wbg_get_returnedconstructedterrainmesh_min_height: (a: number) => number;
5015
5043
  readonly __wbg_get_returnedconstructedterrainmesh_max_height: (a: number) => number;
@@ -5023,6 +5051,9 @@ export interface InitOutput {
5023
5051
  readonly __wbg_set_pointmaterial_center: (a: number, b: number) => void;
5024
5052
  readonly __wbg_set_terrainmaterial_skirtExaggeration: (a: number, b: number) => void;
5025
5053
  readonly __wbg_set_polylineinternalmaterial_minMaxHeights: (a: number, b: number, c: number) => void;
5054
+ readonly __wbg_set_rastertileinternalmaterial_elevationMinOffset: (a: number, b: number) => void;
5055
+ readonly __wbg_set_rastertileinternalmaterial_elevationEpsilon: (a: number, b: number) => void;
5056
+ readonly __wbg_set_rastertileinternalmaterial_elevationMaxOffset: (a: number, b: number) => void;
5026
5057
  readonly __wbg_set_ray_origin: (a: number, b: number) => void;
5027
5058
  readonly __wbg_set_ray_direction: (a: number, b: number) => void;
5028
5059
  readonly __wbg_set_modelinternalmaterial_pointCloudGeodeticNormal: (a: number, b: number) => void;
@@ -5064,8 +5095,8 @@ export interface InitOutput {
5064
5095
  readonly __wbg_set_rastertileinternalmaterial_elevationBoundary: (a: number, b: number) => void;
5065
5096
  readonly __wbg_set_rastertileinternalmaterial_elevationBScaler: (a: number, b: number) => void;
5066
5097
  readonly __wbg_set_elevationdecoder_g_scaler: (a: number, b: number) => void;
5067
- readonly __wbg_set_rastertileinternalmaterial_elevationMinOffset: (a: number, b: number) => void;
5068
- readonly __wbg_set_rastertileinternalmaterial_elevationMaxOffset: (a: number, b: number) => void;
5098
+ readonly __wbg_set_ellipsoidgeodesic_start_heading: (a: number, b: number) => void;
5099
+ readonly __wbg_set_ellipsoidgeodesic_distance: (a: number, b: number) => void;
5069
5100
  readonly __wbg_set_elevationdecoder_b_scaler: (a: number, b: number) => void;
5070
5101
  readonly __wbg_set_returnedconstructedterrainmesh_min_height: (a: number, b: number) => void;
5071
5102
  readonly __wbg_set_returnedconstructedterrainmesh_max_height: (a: number, b: number) => void;
@@ -5104,6 +5135,7 @@ export interface InitOutput {
5104
5135
  readonly __wbg_get_pointmaterial_center: (a: number) => number;
5105
5136
  readonly __wbg_get_modelmaterial_waterScaleNormal: (a: number) => number;
5106
5137
  readonly __wbg_get_polylineinternalmaterial_minMaxHeights: (a: number) => [number, number];
5138
+ readonly __wbg_get_modelinternalmaterial_pointCloudGeodeticNormal: (a: number) => number;
5107
5139
  readonly __wbg_get_ray_origin: (a: number) => number;
5108
5140
  readonly __wbg_get_tilexyz_y: (a: number) => number;
5109
5141
  readonly __wbg_get_vec2_x: (a: number) => number;
@@ -5134,6 +5166,8 @@ export interface InitOutput {
5134
5166
  readonly __wbg_modelinternalmaterial_free: (a: number, b: number) => void;
5135
5167
  readonly __wbg_polylineinternalmaterial_free: (a: number, b: number) => void;
5136
5168
  readonly __wbg_vec3_free: (a: number, b: number) => void;
5169
+ readonly __wbg_set_ellipsoidgeodesic_end: (a: number, b: number) => void;
5170
+ readonly __wbg_set_ellipsoidgeodesic_start: (a: number, b: number) => void;
5137
5171
  readonly __wbg_compiledfilter_free: (a: number, b: number) => void;
5138
5172
  readonly __wbindgen_malloc: (a: number, b: number) => number;
5139
5173
  readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
package/navara_wasm.js CHANGED
@@ -2048,6 +2048,34 @@ export class ConstructedPolygonOutlineGeometry {
2048
2048
  const ret = wasm.constructedpolygonoutlinegeometry_position(this.__wbg_ptr);
2049
2049
  return ret;
2050
2050
  }
2051
+ /**
2052
+ * @returns {Float32Array | undefined}
2053
+ */
2054
+ position_3d_high() {
2055
+ const ret = wasm.constructedpolygonoutlinegeometry_position_3d_high(this.__wbg_ptr);
2056
+ return ret;
2057
+ }
2058
+ /**
2059
+ * @returns {number | undefined}
2060
+ */
2061
+ position_3d_high_size() {
2062
+ const ret = wasm.constructedpolygonoutlinegeometry_position_3d_high_size(this.__wbg_ptr);
2063
+ return ret === 0xFFFFFF ? undefined : ret;
2064
+ }
2065
+ /**
2066
+ * @returns {Float32Array | undefined}
2067
+ */
2068
+ position_3d_low() {
2069
+ const ret = wasm.constructedpolygonoutlinegeometry_position_3d_low(this.__wbg_ptr);
2070
+ return ret;
2071
+ }
2072
+ /**
2073
+ * @returns {number | undefined}
2074
+ */
2075
+ position_3d_low_size() {
2076
+ const ret = wasm.constructedpolygonoutlinegeometry_position_3d_low_size(this.__wbg_ptr);
2077
+ return ret === 0xFFFFFF ? undefined : ret;
2078
+ }
2051
2079
  /**
2052
2080
  * @returns {number}
2053
2081
  */
@@ -2650,6 +2678,21 @@ export class Core {
2650
2678
  wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
2651
2679
  return v1;
2652
2680
  }
2681
+ /**
2682
+ * Read back a stored source as the plain description object `addSource`
2683
+ * accepts — including engine defaults and partial-update merges (inline
2684
+ * GeoJSON `data` is not read back). `undefined` for unknown ids. Used by
2685
+ * `view.sampleTerrainMostDetailed` to sample against the exact config
2686
+ * the view renders with.
2687
+ * @param {string} source_id
2688
+ * @returns {any}
2689
+ */
2690
+ getSourceDescription(source_id) {
2691
+ const ptr0 = passStringToWasm0(source_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
2692
+ const len0 = WASM_VECTOR_LEN;
2693
+ const ret = wasm.core_getSourceDescription(this.__wbg_ptr, ptr0, len0);
2694
+ return ret;
2695
+ }
2653
2696
  /**
2654
2697
  * @param {bigint} handle
2655
2698
  * @returns {TransferableTile | undefined}
@@ -4268,6 +4311,17 @@ export class EllipsoidGeodesic {
4268
4311
  EllipsoidGeodesicFinalization.register(this, this.__wbg_ptr, this);
4269
4312
  return this;
4270
4313
  }
4314
+ /**
4315
+ * Whether Vincenty's inverse iteration converged. `false` for
4316
+ * near-antipodal endpoints, where `distance` is only a rough estimate
4317
+ * and interpolation snaps to the endpoints instead of following the
4318
+ * (unreliable) capped solution.
4319
+ * @returns {boolean}
4320
+ */
4321
+ get converged() {
4322
+ const ret = wasm.__wbg_get_ellipsoidgeodesic_converged(this.__wbg_ptr);
4323
+ return ret !== 0;
4324
+ }
4271
4325
  /**
4272
4326
  * @returns {number}
4273
4327
  */
@@ -4303,6 +4357,16 @@ export class EllipsoidGeodesic {
4303
4357
  const ret = wasm.__wbg_get_ellipsoidgeodesic_start(this.__wbg_ptr);
4304
4358
  return LLE.__wrap(ret);
4305
4359
  }
4360
+ /**
4361
+ * Whether Vincenty's inverse iteration converged. `false` for
4362
+ * near-antipodal endpoints, where `distance` is only a rough estimate
4363
+ * and interpolation snaps to the endpoints instead of following the
4364
+ * (unreliable) capped solution.
4365
+ * @param {boolean} arg0
4366
+ */
4367
+ set converged(arg0) {
4368
+ wasm.__wbg_set_ellipsoidgeodesic_converged(this.__wbg_ptr, arg0);
4369
+ }
4306
4370
  /**
4307
4371
  * @param {number} arg0
4308
4372
  */
@@ -13692,6 +13756,20 @@ export class TransferablePolygonOutlineGeometry {
13692
13756
  const ret = wasm.__wbg_get_transferablepolygonoutlinegeometry_batch_index(this.__wbg_ptr);
13693
13757
  return ret === 0 ? undefined : TransferableFloatAttribute.__wrap(ret);
13694
13758
  }
13759
+ /**
13760
+ * @returns {TransferableFloatAttribute | undefined}
13761
+ */
13762
+ get position_3d_high() {
13763
+ const ret = wasm.__wbg_get_transferablepolygonoutlinegeometry_position_3d_high(this.__wbg_ptr);
13764
+ return ret === 0 ? undefined : TransferableFloatAttribute.__wrap(ret);
13765
+ }
13766
+ /**
13767
+ * @returns {TransferableFloatAttribute | undefined}
13768
+ */
13769
+ get position_3d_low() {
13770
+ const ret = wasm.__wbg_get_transferablepolygonoutlinegeometry_position_3d_low(this.__wbg_ptr);
13771
+ return ret === 0 ? undefined : TransferableFloatAttribute.__wrap(ret);
13772
+ }
13695
13773
  /**
13696
13774
  * @returns {TransferableFloatAttribute | undefined}
13697
13775
  */
@@ -13724,6 +13802,28 @@ export class TransferablePolygonOutlineGeometry {
13724
13802
  }
13725
13803
  wasm.__wbg_set_transferablepolygonoutlinegeometry_batch_index(this.__wbg_ptr, ptr0);
13726
13804
  }
13805
+ /**
13806
+ * @param {TransferableFloatAttribute | null} [arg0]
13807
+ */
13808
+ set position_3d_high(arg0) {
13809
+ let ptr0 = 0;
13810
+ if (!isLikeNone(arg0)) {
13811
+ _assertClass(arg0, TransferableFloatAttribute);
13812
+ ptr0 = arg0.__destroy_into_raw();
13813
+ }
13814
+ wasm.__wbg_set_transferablepolygonoutlinegeometry_position_3d_high(this.__wbg_ptr, ptr0);
13815
+ }
13816
+ /**
13817
+ * @param {TransferableFloatAttribute | null} [arg0]
13818
+ */
13819
+ set position_3d_low(arg0) {
13820
+ let ptr0 = 0;
13821
+ if (!isLikeNone(arg0)) {
13822
+ _assertClass(arg0, TransferableFloatAttribute);
13823
+ ptr0 = arg0.__destroy_into_raw();
13824
+ }
13825
+ wasm.__wbg_set_transferablepolygonoutlinegeometry_position_3d_low(this.__wbg_ptr, ptr0);
13826
+ }
13727
13827
  /**
13728
13828
  * @param {TransferableFloatAttribute | null} [arg0]
13729
13829
  */
@@ -13754,27 +13854,39 @@ export class TransferablePolygonOutlineGeometry {
13754
13854
  }
13755
13855
  /**
13756
13856
  * @param {TransferableFloatAttribute | null} [position]
13857
+ * @param {TransferableFloatAttribute | null} [position_3d_high]
13858
+ * @param {TransferableFloatAttribute | null} [position_3d_low]
13757
13859
  * @param {TransferableFloatAttribute | null} [scale_normal_and_cap]
13758
13860
  * @param {number | null} [skip_indices]
13759
13861
  * @param {TransferableFloatAttribute | null} [batch_index]
13760
13862
  */
13761
- constructor(position, scale_normal_and_cap, skip_indices, batch_index) {
13863
+ constructor(position, position_3d_high, position_3d_low, scale_normal_and_cap, skip_indices, batch_index) {
13762
13864
  let ptr0 = 0;
13763
13865
  if (!isLikeNone(position)) {
13764
13866
  _assertClass(position, TransferableFloatAttribute);
13765
13867
  ptr0 = position.__destroy_into_raw();
13766
13868
  }
13767
13869
  let ptr1 = 0;
13870
+ if (!isLikeNone(position_3d_high)) {
13871
+ _assertClass(position_3d_high, TransferableFloatAttribute);
13872
+ ptr1 = position_3d_high.__destroy_into_raw();
13873
+ }
13874
+ let ptr2 = 0;
13875
+ if (!isLikeNone(position_3d_low)) {
13876
+ _assertClass(position_3d_low, TransferableFloatAttribute);
13877
+ ptr2 = position_3d_low.__destroy_into_raw();
13878
+ }
13879
+ let ptr3 = 0;
13768
13880
  if (!isLikeNone(scale_normal_and_cap)) {
13769
13881
  _assertClass(scale_normal_and_cap, TransferableFloatAttribute);
13770
- ptr1 = scale_normal_and_cap.__destroy_into_raw();
13882
+ ptr3 = scale_normal_and_cap.__destroy_into_raw();
13771
13883
  }
13772
- let ptr2 = 0;
13884
+ let ptr4 = 0;
13773
13885
  if (!isLikeNone(batch_index)) {
13774
13886
  _assertClass(batch_index, TransferableFloatAttribute);
13775
- ptr2 = batch_index.__destroy_into_raw();
13887
+ ptr4 = batch_index.__destroy_into_raw();
13776
13888
  }
13777
- const ret = wasm.transferablepolygonoutlinegeometry_new(ptr0, ptr1, isLikeNone(skip_indices) ? Number.MAX_SAFE_INTEGER : (skip_indices) >> 0, ptr2);
13889
+ const ret = wasm.transferablepolygonoutlinegeometry_new(ptr0, ptr1, ptr2, ptr3, isLikeNone(skip_indices) ? Number.MAX_SAFE_INTEGER : (skip_indices) >> 0, ptr4);
13778
13890
  this.__wbg_ptr = ret;
13779
13891
  TransferablePolygonOutlineGeometryFinalization.register(this, this.__wbg_ptr, this);
13780
13892
  return this;
@@ -16031,6 +16143,9 @@ function __wbg_get_imports() {
16031
16143
  __wbg_set_4d7dd76f3dae2926: function(arg0, arg1, arg2) {
16032
16144
  arg0.set(getArrayU8FromWasm0(arg1, arg2));
16033
16145
  },
16146
+ __wbg_set_6be42768c690e380: function(arg0, arg1, arg2) {
16147
+ arg0[arg1] = arg2;
16148
+ },
16034
16149
  __wbg_set_8535240470bf2500: function() { return handleError(function (arg0, arg1, arg2) {
16035
16150
  const ret = Reflect.set(arg0, arg1, arg2);
16036
16151
  return ret;
Binary file
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@navaramap/engine",
3
3
  "type": "module",
4
- "version": "0.0.6",
4
+ "version": "0.0.7",
5
5
  "license": "MIT OR Apache-2.0",
6
6
  "repository": {
7
7
  "type": "git",