Ticket #314 (closed enhancement: fixed)
Expose getX, getY, getPointN, getStartPoint, getEndPoint, isClosed, getLength and getNumPoints
| Reported by: | atrofast | Owned by: | pramsey |
|---|---|---|---|
| Priority: | major | Milestone: | 3.3.0 |
| Component: | C API | Version: | svn-trunk |
| Severity: | Feature Request | Keywords: | |
| Cc: |
Description
I've attached a patch that exposes these C++ class methods as CAPI functions:
LineString::getPointN -> GEOSGetPointN
LineString::getStartPoint -> GEOSGetStartPoint
LineString::getEndPoint -> GEOSGetEndPoint
LineString::isClosed -> GEOSisClosed
LineString::getLength -> GEOSGetLength
LineString::getNumPoints -> GEOSGetNumPoints
Point::getX -> GEOSGetX
Point::getY -> GEOSGetY
Additionally I wrote a small test case for the new functions.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

