Class TranslateFlipContext

  • All Implemented Interfaces:
    Serializable, ProjectionContext

    public class TranslateFlipContext
    extends ReparentContext
    A ProjectionContext that translates and optionaly flips features.

    Use this to 'reverse complement' a feature hierachy, or just to shift it sideways a bit.

    If the flipping mode is dissabled, then all translated features are projected as having locations equivalent to feat.getLocation().translate(translation). If the flipping mode is enabled, then all features are flipped arround translation so that translation-i becomes translation+i.

    Author:
    Matthew Pocock
    See Also:
    Serialized Form