onData<X> abstract method

Point3<X, double>? onData<X>(
  1. Point3<X, double> data
)

Transforms a given input data.

If null is returned, this object might not have sufficient data to apply the transformation. For example, if this object's transformation requires two elements as input (say f(x, y)), the first call to this function should return null and the second call should return the result of the operation between the arguments provided in the first (x) and the second (y) calls.

Implementation

Point3<X, double>? onData<X>(Point3<X, double> data);