openmicroscopy/openmicroscopy — pull request #1974 by sbesson (2014-01-14 11:02:53+00:00)
Title: OMERO.matlab: allow column input for Polygon/Polyline (rebased onto develop)

This is the same as gh-1954 but rebased onto develop.

----

This PR back ports a fix reported in #1917 by @manics. Passing column vectors to `createPolygon` should now correctly fill the object so that the following works:

```
>> polygon = createPolygon((1:5), (-1:-1:-5));
>> polygon.getPoints().getValue()

ans =

1,-1 2,-2 3,-3 4,-4 5,-5

>> polygon = createPolygon((1:5)', (-1:-1:-5)');
>> polygon.getPoints().getValue()

ans =

1,-1 2,-2 3,-3 4,-4 5,-5

```

Same behaviour is expected for `createPolyline`. Additionally the unit tests should be green in [OMERO-5.0-merge-matlab](http://ci.openmicroscopy.org/view/5.0/job/OMERO-5.0-merge-matlab/).