T
- feature input-typepublic class UnitsWithinRange<T extends FeatureInputWithResolution> extends WithResolutionBase<T>
Constructor and Description |
---|
UnitsWithinRange() |
Modifier and Type | Method and Description |
---|---|
protected double |
calculateWithResolution(double value,
Resolution resolution) |
String |
describeParameters()
A human-readable description of the parameterization of the bean.
|
UnitValueExtent |
getMax()
Maximum-boundary for acceptable range
|
UnitValueExtent |
getMin()
Minimum-boundary for acceptable range
|
double |
getOutside()
Returned as a constant if a value lies otside the range
|
double |
getWithin()
Returned as a constant if a value lies within the range
|
void |
setMax(UnitValueExtent max)
Maximum-boundary for acceptable range
|
void |
setMin(UnitValueExtent min)
Minimum-boundary for acceptable range
|
void |
setOutside(double outside)
Returned as a constant if a value lies otside the range
|
void |
setWithin(double within)
Returned as a constant if a value lies within the range
|
calculate, isAcceptMissingResolution, setAcceptMissingResolution
getItem, inputType, setItem
assignTo, beforeCalc, calculateCheckInitialized, castAs, createListChildFeatures, describeBean, descriptionLong, duplicateChangeName, getCustomName, getFriendlyName, onInitialization, setCustomName, toString
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized
checkMisconfigured, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise
protected double calculateWithResolution(double value, Resolution resolution) throws FeatureCalculationException
calculateWithResolution
in class WithResolutionBase<T extends FeatureInputWithResolution>
FeatureCalculationException
public String describeParameters()
Feature
describeParameters
in class Feature<T extends FeatureInputWithResolution>
public double getWithin()
public void setWithin(double within)
public double getOutside()
public void setOutside(double outside)
public UnitValueExtent getMin()
We default to volume as units, but it could also be area. It's arbitrary for 0-value.
public void setMin(UnitValueExtent min)
We default to volume as units, but it could also be area. It's arbitrary for 0-value.
public UnitValueExtent getMax()
We default to volume as units, but it could also be area. It's arbitrary for infinity-value.
public void setMax(UnitValueExtent max)
We default to volume as units, but it could also be area. It's arbitrary for infinity-value.
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.