@cognite/reveal 4.15.1-dev.20240627 → 4.15.1-dev.20240701

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.
@@ -537,7 +537,7 @@ export declare class Cognite3DViewer {
537
537
  * Convert a point in world space to its coordinates in the canvas. This can be used to place HTML objects near 3D objects on top of the 3D viewer.
538
538
  * @see {@link https://www.w3schools.com/graphics/canvas_coordinates.asp} For details on HTML Canvas Coordinates.
539
539
  * @param point World space coordinate.
540
- * @param normalize Optional. If true, coordinates are normalized into [0,1]. If false, the values are in the range [0, <canvas_size>).
540
+ * @param normalize Optional. If true, coordinates are normalized into [0,1]. If false, the values are in the range [0, \<canvas_size\>).
541
541
  * @returns Returns 2D coordinates if the point is visible on screen, or `null` if object is outside screen.
542
542
  * @example
543
543
  * ```js
@@ -661,7 +661,7 @@ export declare class Cognite3DViewer {
661
661
  private isIntersecting360Icon;
662
662
  /**
663
663
  * Check for intersections with 360 annotations through the given pixel.
664
- * Similar to {getIntersectionFromPixel}, but checks 360 image annotations
664
+ * Similar to {@link Cognite3DViewer.getIntersectionFromPixel}, but checks 360 image annotations
665
665
  * instead of models.
666
666
  * @param offsetX
667
667
  * @param offsetY
@@ -9,7 +9,7 @@ import { SerializedNodeCollection } from './SerializedNodeCollection';
9
9
  /**
10
10
  * Collection that holds a set of nodes including children identified by nodeIds. Note that
11
11
  * this involves remapping IDs to "tree indices" and subtree sized used by Reveal using
12
- * the CDF API. Its often better to use one of the other node collections or {@see TreeIndexNodeCollection}
12
+ * the CDF API. Its often better to use one of the other node collections or @see {TreeIndexNodeCollection}
13
13
  * whenever possible for best performance.
14
14
  */
15
15
  export declare class NodeIdNodeCollection extends CdfNodeCollectionBase {
@@ -24,7 +24,7 @@ import { MeasurementAddedDelegate, MeasurementStartedDelegate, MeasurementEndedD
24
24
  * measurementTool.dispose();
25
25
  * ```
26
26
  * @example
27
- * ```jsx runnable
27
+ * ```js
28
28
  * const measurementTool = new MeasurementTool(viewer, {distanceToLabelCallback: (distanceInMeters) => {
29
29
  * // 1 meters = 3.281 feet
30
30
  * const distancesInFeet = distanceInMeters * 3.281;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cognite/reveal",
3
- "version": "4.15.1-dev.20240627",
3
+ "version": "4.15.1-dev.20240701",
4
4
  "description": "WebGL based 3D viewer for CAD and point clouds processed in Cognite Data Fusion.",
5
5
  "homepage": "https://github.com/cognitedata/reveal/tree/master/viewer",
6
6
  "repository": {
@@ -156,5 +156,5 @@
156
156
  "files": [
157
157
  "dist"
158
158
  ],
159
- "packageManager": "yarn@4.3.0"
159
+ "packageManager": "yarn@4.3.1"
160
160
  }