openmicroscopy/openmicroscopy — pull request #1954 by sbesson (2014-01-10 12:50:30+00:00)
Title: OMERO.matlab: allow column input for Polygon/Polyline

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/).