PostGIS
2.5.7dev-r@@SVN_REVISION@@
|
LWCOMPOUND* lwcompound_construct_from_lwline | ( | const LWLINE * | lwpoly | ) |
Construct an equivalent compound curve from a linestring.
Compound curves can have linear components, so this works fine
Definition at line 204 of file lwcompound.c.
References LWLINE::flags, FLAGS_GET_M, FLAGS_GET_Z, lwcompound_add_lwgeom(), lwcompound_construct_empty(), lwgeom_clone(), and LWLINE::srid.
Referenced by lwgeom_as_curve().