geos.GEOSRelate ⇒ string
⏏
Computes a DE-9IM intersection matrix for two geometries.
Kind: Exported member
Returns: string
- A string representing the DE-9IM matrix, or NULL on exception
See: https://libgeos.org/doxygen/geos__c_8h.html#a3a6f4e9a7f0b8c8d5b4a0c5f6c7e4d3f
Param | Type | Description |
---|---|---|
g1 | number | A pointer to the first geometry |
g2 | number | A pointer to the second geometry |
geos.GEOSRelateBoundaryNodeRule ⇒ string
⏏
Computes the DE-9IM intersection matrix for two geometries using a specified Boundary Node Rule.
Kind: Exported member
Returns: string
- The DE-9IM intersection matrix as a string, or null if an error occurred.
See: https://docs.rs/geos-sys/2.0.1/geos_sys/fn.GEOSRelateBoundaryNodeRule.html
Param | Type | Description |
---|---|---|
handle | number | A pointer to the GEOS context handle. |
g1 | number | The first geometry. |
g2 | number | The second geometry. |
bnr | number | The Boundary Node Rule to use. One of: 1 (Mod2), 2 (EndPoint), 3 (MultiValentEndPoint), 4 (MonoValentEndPoint). |
geos.GEOSRelateBoundaryNodeRule_r ⇒ string
⏏
Computes the DE-9IM intersection matrix for two geometries using a specified Boundary Node Rule.
Kind: Exported member
Returns: string
- The DE-9IM intersection matrix as a string, or null if an error occurred.
See: https://docs.rs/geos-sys/2.0.1/geos_sys/fn.GEOSRelateBoundaryNodeRule_r.html
Param | Type | Description |
---|---|---|
handle | number | A pointer to the GEOS context handle. |
g1 | number | The first geometry. |
g2 | number | The second geometry. |
bnr | number | The Boundary Node Rule to use. One of: 1 (Mod2), 2 (EndPoint), 3 (MultiValentEndPoint), 4 (MonoValentEndPoint). |
geos.GEOSRelateBoundaryNodeRules ⏏
Controls the behavior of the result of GEOSRelate when returning DE9IM results for two geometries.
Name | Value |
---|---|
GEOSRELATE_BNR_MOD2 | 1 |
GEOSRELATE_BNR_OGC | 1 |
GEOSRELATE_BNR_ENDPOINT | 2 |
GEOSRELATE_BNR_MULTIVALENT_ENDPOINT | 3 |
GEOSRELATE_BNR_MONOVALENT_ENDPOINT | 4 |
Kind: Exported member
geos.GEOSRelatePattern ⇒ number
⏏
Tests whether two geometries are related according to a given DE-9IM intersection matrix pattern.
Kind: Exported member
Returns: number
- 1 if the geometries are related, 0 if not, 2 on exception
See: https://libgeos.org/doxygen/geos__c_8h.html#a3a6f4e9a7f0b8c8d5b4a0c5f6c7e4d3f
Param | Type | Description |
---|---|---|
g1 | number | A pointer to the first geometry |
g2 | number | A pointer to the second geometry |
pat | string | A string representing the DE-9IM pattern |
geos.GEOSRelatePatternMatch ⇒ number
⏏
Tests whether a DE-9IM intersection matrix matches a given pattern.
Kind: Exported member
Returns: number
- 1 if the matrix matches the pattern, 0 if not, 2 on exception
See: https://libgeos.org/doxygen/geos__c_8h.html#a3a6f4e9a7f0b8c8d5b4a0c5f6c7e4d3f
Param | Type | Description |
---|---|---|
mat | string | A string representing the DE-9IM matrix |
pat | string | A string representing the DE-9IM pattern |
geos.GEOSRelatePatternMatch_r ⇒ number
⏏
Tests whether a DE-9IM intersection matrix matches a given pattern in a thread-safe manner.
Kind: Exported member
Returns: number
- 1 if the matrix matches the pattern, 0 if not, 2 on exception
See: https://libgeos.org/doxygen/geos__c_8h.html#a3a6f4e9a7f0b8c8d5b4a0c5f6c7e4d3f
Param | Type | Description |
---|---|---|
handle | number | A GEOS context handle |
mat | string | A string representing the DE-9IM matrix |
pat | string | A string representing the DE-9IM pattern |
geos.GEOSRelatePattern_r ⇒ number
⏏
Tests whether two geometries are related according to a given DE-9IM intersection matrix pattern in a thread-safe manner.
Kind: Exported member
Returns: number
- 1 if the geometries are related, 0 if not, 2 on exception
See: https://libgeos.org/doxygen/geos__c_8h.html#a3a6f4e9a7f0b8c8d5b4a0c5f6c7e4d3f
Param | Type | Description |
---|---|---|
handle | number | A GEOS context handle |
g1 | number | A pointer to the first geometry |
g2 | number | A pointer to the second geometry |
pat | string | A string representing the DE-9IM pattern |
geos.GEOSRelate_r ⇒ string
⏏
Computes the DE-9IM intersection matrix for two geometries.
Kind: Exported member
Returns: string
- The DE-9IM intersection matrix as a string, or null if an error occurred.
See: https://docs.rs/geos-sys/2.0.0/geos_sys/fn.GEOSRelate_r.html
Param | Type | Description |
---|---|---|
handle | number | A pointer to the GEOS context handle. |
g1 | number | The first geometry. |
g2 | number | The second geometry. |