imglib / imglib2-realtransform

Spatial transformations for ImgLib2
Other
7 stars 7 forks source link

Behavior of empty RealTransformSequence #24

Closed bogovicj closed 4 years ago

bogovicj commented 4 years ago

@axtimwalde

The apply method for empty RealTransformSequence currently does nothing to its target point.

I'd expect either: 1) There to exist some way of determining that a RealTransformSequence object is empty.
2) That an empty RealTransformSequence acts as the identity.

I'll file a PR once we make a choice.

axtimwalde commented 4 years ago

I like identity

bogovicj commented 4 years ago

Great, I'll make a PR.