Opened 13 years ago
Closed 13 years ago
#803 closed enhancement (fixed)
FDO: Allow linear rings with < 3 positions
Reported by: | brentrobinson | Owned by: | brentrobinson |
---|---|---|---|
Priority: | major | Milestone: | 3.7.0 |
Component: | FDO API | Version: | 3.7.0 |
Severity: | 2 | Keywords: | FdoILinearRing 2 points |
Cc: | External ID: |
Description
The FdoILinearRing constructor, that takes a set of ordinates, succeeds as long as the ordinates define at least one point. However, the construct that takes a Direction Position collection requires at least 3 positions. This constructor should change, to accept collections with 1 or 2 positions, to be consistent with the constructor for ordinates.
Although rings, with < 3 points, are not topologically correct, they can occur in existing data sets and need to be loadable into FDO Geometries.
Note:
See TracTickets
for help on using tickets.
Revision: 6330 Author: brentrobinson Date: 10:46:44 AM, Monday, December 12, 2011 Message: Ticket#803: Allow creation of linear rings with fewer than 3 points.
Modified : /trunk/Fdo/UnitTest/GeometryTest.cpp Modified : /trunk/Fdo/Unmanaged/Src/Geometry/Fgf/LinearRing.cpp