Interface Transformable<O,​T extends Transform>


  • public interface Transformable<O,​T extends Transform>
    A class is transformable if it can produce a copy of itself in the transformed space using the supplied transform. Note that a class may require either a Transform or an InvertibleTransform depending on whether the strategy is to transform coordinates in the source space into the destination space or to generate the object in the destination space by sampling invert-transformed points in the source space.
    Author:
    Lee Kamentsky
    • Method Detail

      • transform

        O transform​(T t)
        Generate a copy of the object in the transformed space.
        Parameters:
        t - the transform that maps points in the source space to those in the destination space.
        Returns:
        a copy built to operate similarly in the transformed space.