| 22 | |
| 23 | And corresponding `ST_CurveN` calls: |
| 24 | |
| 25 | {{{ |
| 26 | "SELECT geometry::Parse('LINESTRING (0 0, 1 1, 2 2)').STCurveN(2).ToString()" |
| 27 | |
| 28 | |
| 29 | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 30 | LINESTRING (1 1, 2 2) |
| 31 | }}} |
| 32 | |
| 33 | {{{ |
| 34 | "SELECT geometry::Parse('CIRCULARSTRING (0 0, 1 1, 2 2)').STCurveN(1).ToString()" |
| 35 | |
| 36 | |
| 37 | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 38 | CIRCULARSTRING (0 0, 1 1, 2 2) |
| 39 | }}} |