toContourData

Convert the ColourBlob information stored by this instance into ContourData information.

This method is designed for already implemented tasks such as the align/move to contour tasks, which take in instances of ContourData. Therefore, it is possible to convert an entire list of ColourBlob readings into a ContourData list with a simple streaming operation:

() -> proc.getData().stream().map(ColourBlob::toContourData).collect(Collectors.toList())

which is optionally allowed to be passed into these tasks as a Supplier.

Since

5.1.0