public class DefaultVoxelDimensions extends Object implements VoxelDimensions
VoxelDimensions
with
spacing of one for all dimensions and units of "pixel"s.Constructor and Description |
---|
DefaultVoxelDimensions(int numDimensions) |
Modifier and Type | Method and Description |
---|---|
double |
dimension(int d)
Always returns one.
|
void |
dimensions(double[] dims)
Sets all entries to one.
|
int |
numDimensions() |
String |
unit()
Get the unit in which dimensions are specified.
|
public int numDimensions()
numDimensions
in interface EuclideanSpace
public String unit()
VoxelDimensions
unit
in interface VoxelDimensions
public void dimensions(double[] dims)
dimensions
in interface VoxelDimensions
public double dimension(int d)
dimension
in interface VoxelDimensions
Copyright © 2015–2021 Fiji. All rights reserved.