public IList<VoxelVolume> GetVolumes()
Public Function GetVolumes() As IList(Of VoxelVolume)
public IList<VoxelVolume> GetVolumes()
Public Function GetVolumes() As IList(Of VoxelVolume)
//At 2.x - var volume = voxelLayer.GetVolumeSize(); //var x_max = volume.Item1; //var y_max = volume.Item2; //var z_max = volume.Item3; var x_max = voxelLayer.GetVolumes().Max(v => v.GetVolumeSize().X); var y_max = voxelLayer.GetVolumes().Max(v => v.GetVolumeSize().Y); var z_max = voxelLayer.GetVolumes().Max(v => v.GetVolumeSize().Z); //Get the dimensions of just one volume var dimensions = voxelLayer.GetVolumes().FirstOrDefault(); //Get the dimensions of the volume associated with the selected variable var dimensions2 = voxelLayer.SelectedVariableProfile.Volume.GetVolumeSize();
Target Platforms: Windows 11, Windows 10, Windows 8.1