ESM: import VoxelVolume from "@arcgis/core/layers/voxel/VoxelVolume.js";
CDN: const VoxelVolume = await $arcgis.import("@arcgis/core/layers/voxel/VoxelVolume.js");
Object: @arcgis/core/layers/voxel/VoxelVolume
Since: ArcGIS Maps SDK for JavaScript 4.25
The VoxelVolume exposes properties that describe the volume and methods to convert to and from voxel space.
Property Overview Name Type Summary Object id NumberThe unique identifier for the volume.
VoxelVolume sizeInVoxels Number[]A 3-component array containing the volume size in voxels.
VoxelVolume volumeType StringReturns the type of the current variable's volume.
VoxelVolume Property DetailsThe unique identifier for the volume.
sizeInVoxels Number[]
A 3-component array containing the volume size in voxels. For XYZ and XYZT volumes the returned values are [x, y, z]. For XYT volumes the returned values are [x, y, t] where t represents the number of times in the volume which are represented along the z dimension.
volumeType String
Returns the type of the current variable's volume.
Possible Values:"xyz" |"xyzt" |"xyt"
computeLayerSpaceLocation(posInVoxelSpace){Point}
Convert a position in voxel space to the spatialReference of the layer.
Parameter
The voxel space position to convert to layer space as as [x, y, z].
Returns
Type Description Point Returns a point in the layer's spatial reference. For XYT volumes returns an XY point and for XYZ and XYZT volumes returns an XYZ point. computeVoxelSpaceLocation(pos){Number[]}
Convert a position from the layer's spatialReference to voxel space for XYZ or XYZT volumes.
Parameter
The XYZ position in the voxel layer spatial reference to convert to voxel space.
Returns
Type Description Number[] Returns a 3-component array containing the position in voxel space as [x, y, z].RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4