Skip to content
On this page

geos.GEOSSharedPaths ⇒ number

Computes a geometry representing the shared paths between two linear geometries.

Kind: Exported member
Returns: number - A pointer to the geometry representing the shared paths between g1 and g2, or NULL on exception.
See: https://libgeos.org/doxygen/geos__c_8h.html

ParamTypeDescription
handlenumberA pointer to the GEOS context handle.
g1numberA pointer to the first geometry. Must be linear.
g2numberA pointer to the second geometry. Must be linear.

geos.GEOSSharedPaths_r ⇒ number

Computes a geometry representing the shared paths between two linear geometries using a GEOS context handle.

Kind: Exported member
Returns: number - A pointer to the geometry representing the shared paths between g1 and g2, or NULL on exception.
See: https://libgeos.org/doxygen/geos__c_8h.html

ParamTypeDescription
handlenumberA pointer to the GEOS context handle.
g1numberA pointer to the first geometry. Must be linear.
g2numberA pointer to the second geometry. Must be linear.