Interface PayloadCalculator
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Calculates a payload value for an
ObjectMask
.
This functional interface is used to compute a numeric value associated with an object mask, which can be used in various algorithms, such as object merging or prioritization.
-
Method Summary
Modifier and TypeMethodDescriptiondouble
calculate
(ObjectMask object) Calculates the payload value for a given object mask.
-
Method Details
-
calculate
Calculates the payload value for a given object mask.- Parameters:
object
- theObjectMask
for which to calculate the payload- Returns:
- the calculated payload value as a double
- Throws:
FeatureCalculationException
- if an error occurs during the calculation
-