public final class FinalVoxelDimensions extends Object implements VoxelDimensions
VoxelDimensions
.Constructor and Description |
---|
FinalVoxelDimensions(String unit,
double... dimensions) |
Modifier and Type | Method and Description |
---|---|
double |
dimension(int d)
Get the size of a voxel in a given dimension d.
|
void |
dimensions(double[] dims)
Write the size of a voxel in each dimension into double[].
|
int |
numDimensions() |
String |
unit()
Get the unit in which dimensions are specified.
|
public FinalVoxelDimensions(String unit, double... dimensions)
public int numDimensions()
numDimensions
in interface EuclideanSpace
public String unit()
VoxelDimensions
unit
in interface VoxelDimensions
public void dimensions(double[] dims)
VoxelDimensions
dimensions
in interface VoxelDimensions
public double dimension(int d)
VoxelDimensions
dimension
in interface VoxelDimensions
Copyright © 2015–2021 Fiji. All rights reserved.