@cognite/reveal 4.28.3-dev.20251111 → 4.28.3-dev.20251113

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.
@@ -0,0 +1,7 @@
1
+ /*!
2
+ * Copyright 2025 Cognite AS
3
+ */
4
+ import { Vector3 } from 'three';
5
+ import { CoreDmImage360Properties } from './properties';
6
+ import { SemanticVersion } from './semanticVersioningUtils';
7
+ export declare function readAnnotations(formatVersion: SemanticVersion, imageProperties: CoreDmImage360Properties, data: number[]): Vector3[][];
@@ -0,0 +1,17 @@
1
+ /*!
2
+ * Copyright 2025 Cognite AS
3
+ */
4
+ export type SemanticVersion = `${number}.${number}.${number}`;
5
+ /**
6
+ * Checks if a string is a valid semantic version.
7
+ * @param version The semantic version string (e.g., "1.0.0").
8
+ * @returns True if the version is valid, false otherwise.
9
+ */
10
+ export declare function isSemanticVersion(version: string): version is SemanticVersion;
11
+ /**
12
+ * Compares a semantic version to a target semantic version.
13
+ * @param formatVersion The semantic version string to compare (e.g., "1.0.0").
14
+ * @param targetVersion The target semantic version string (e.g., "1.0.1").
15
+ * @returns True if formatVersion >= targetVersion, false otherwise.
16
+ */
17
+ export declare function isSemanticVersionGreaterThanOrEqual(formatVersion: SemanticVersion, targetVersion: SemanticVersion): boolean;
@@ -0,0 +1,7 @@
1
+ /*!
2
+ * Copyright 2025 Cognite AS
3
+ */
4
+ import { Vector3 } from 'three';
5
+ import { CoreDmImage360Properties } from './properties';
6
+ import { SemanticVersion } from './semanticVersioningUtils';
7
+ export declare function transformSphericalCoordinatesToVectors(phiThetaPairs: number[], imageProperties: CoreDmImage360Properties, annotationFormatVersion: SemanticVersion): Vector3[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cognite/reveal",
3
- "version": "4.28.3-dev.20251111",
3
+ "version": "4.28.3-dev.20251113",
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": {