Public Function GetVolumes() As IList(Of VoxelVolume)
public IList<VoxelVolume> GetVolumes()
Public Function GetVolumes() As IList(Of VoxelVolume)
public IList<VoxelVolume> GetVolumes()
{
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 Home, Pro, Enterprise (64 bit)