A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-voxel-VoxelVolume.html below:

VoxelVolume | API Reference | ArcGIS Maps SDK for JavaScript 4.33

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 Number

The unique identifier for the volume.

VoxelVolume sizeInVoxels Number[]

A 3-component array containing the volume size in voxels.

VoxelVolume volumeType String

Returns the type of the current variable's volume.

VoxelVolume Property Details

The unique identifier for the volume.

sizeInVoxels Property 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 Property volumeType String

Returns the type of the current variable's volume.

Possible Values:"xyz" |"xyzt" |"xyt"

Method Overview Method Details
computeLayerSpaceLocation Method 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 Method 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