geos.GEOSCoordSeq_clone ⇒ GEOSCoordSequence ⏏
Clone a coordinate sequence.
Kind: global property of geos
Returns: GEOSCoordSequence - a copy of the coordinate sequence or NULL on exception
| Param | Type | Description |
|---|---|---|
| s | GEOSCoordSequence | the coordinate sequence to clone |
geos.GEOSCoordSeq_clone_r ⇒ GEOSCoordSequence ⏏
Clone a coordinate sequence.
Kind: global property of geos
Returns: GEOSCoordSequence - a copy of the coordinate sequence or NULL on exception
| Param | Type | Description |
|---|---|---|
| handle | GEOSContextHandle_t | - |
| s | GEOSCoordSequence | the coordinate sequence to clone |
geos.GEOSCoordSeq_copyFromArrays ⇒ GEOSCoordSequence ⏏
Create a coordinate sequence by copying from arrays of doubles
Kind: global property of geos
Returns: GEOSCoordSequence - the sequence or NULL on exception
| Param | Type | Description |
|---|---|---|
| x | ArrayPointer | array of x coordinates |
| y | ArrayPointer | array of y coordinates |
| z | ArrayPointer | array of z coordinates, or NULL |
| m | ArrayPointer | array of m coordinates, or NULL |
| size | number | length of each array |
geos.GEOSCoordSeq_copyFromArrays_r ⇒ GEOSCoordSequence ⏏
Create a coordinate sequence by copying from arrays of doubles
Kind: global property of geos
Returns: GEOSCoordSequence - the sequence or NULL on exception
| Param | Type | Description |
|---|---|---|
| handle | GEOSContextHandle_t | - |
| x | ArrayPointer | array of x coordinates |
| y | ArrayPointer | array of y coordinates |
| z | ArrayPointer | array of z coordinates, or NULL |
| m | ArrayPointer | array of m coordinates, or NULL |
| size | number | length of each array |
geos.GEOSCoordSeq_copyFromBuffer ⇒ GEOSCoordSequence ⏏
Create a coordinate sequence by copying from an interleaved buffer of doubles (e.g., XYXY or XYZXYZ)
Kind: global property of geos
Returns: GEOSCoordSequence - the sequence or NULL on exception
| Param | Type | Description |
|---|---|---|
| buf | NumberPointer | pointer to buffer |
| size | number | number of coordinates in the sequence |
| hasZ | number | does buffer have Z values? |
| hasM | number | does buffer have M values? |
geos.GEOSCoordSeq_copyFromBuffer_r ⇒ GEOSCoordSequence ⏏
Create a coordinate sequence by copying from an interleaved buffer of doubles (e.g., XYXY or XYZXYZ)
Kind: global property of geos
Returns: GEOSCoordSequence - the sequence or NULL on exception
| Param | Type | Description |
|---|---|---|
| handle | GEOSContextHandle_t | - |
| buf | NumberPointer | pointer to buffer |
| size | number | number of coordinates in the sequence |
| hasZ | number | does buffer have Z values? |
| hasM | number | does buffer have M values? |
geos.GEOSCoordSeq_copyToArrays ⇒ number ⏏
Copy the contents of a coordinate sequence to arrays of doubles
Kind: global property of geos
Returns: number - 1 on success, 0 on error
| Param | Type | Description |
|---|---|---|
| s | GEOSCoordSequence | sequence to copy |
| x | ArrayPointer | array to which x values should be copied |
| y | ArrayPointer | array to which y values should be copied |
| z | ArrayPointer | array to which z values should be copied, or NULL |
| m | ArrayPointer | array to which m values should be copied, or NULL |
geos.GEOSCoordSeq_copyToArrays_r ⇒ number ⏏
Copy the contents of a coordinate sequence to arrays of doubles
Kind: global property of geos
Returns: number - 1 on success, 0 on error
| Param | Type | Description |
|---|---|---|
| handle | GEOSContextHandle_t | - |
| s | GEOSCoordSequence | sequence to copy |
| x | ArrayPointer | array to which x values should be copied |
| y | ArrayPointer | array to which y values should be copied |
| z | ArrayPointer | array to which z values should be copied, or NULL |
| m | ArrayPointer | array to which m values should be copied, or NULL |
geos.GEOSCoordSeq_copyToBuffer ⇒ number ⏏
Copy the contents of a coordinate sequence to an interleaved buffer of doubles (e.g., XYXY or XYZXYZ)
Kind: global property of geos
Returns: number - 1 on success, 0 on error
| Param | Type | Description |
|---|---|---|
| s | GEOSCoordSequence | sequence to copy |
| buf | NumberPointer | buffer to which coordinates should be copied |
| hasZ | number | copy Z values to buffer? |
| hasM | number | copy M values to buffer? |
geos.GEOSCoordSeq_copyToBuffer_r ⇒ number ⏏
Copy the contents of a coordinate sequence to an interleaved buffer of doubles (e.g., XYXY or XYZXYZ)
Kind: global property of geos
Returns: number - 1 on success, 0 on error
| Param | Type | Description |
|---|---|---|
| handle | GEOSContextHandle_t | - |
| s | GEOSCoordSequence | sequence to copy |
| buf | NumberPointer | buffer to which coordinates should be copied |
| hasZ | number | copy Z values to buffer? |
| hasM | number | copy M values to buffer? |
geos.GEOSCoordSeq_create ⇒ GEOSCoordSequence ⏏
Create a coordinate sequence.
Kind: global property of geos
Returns: GEOSCoordSequence - the sequence or NULL on exception
| Param | Type | Description |
|---|---|---|
| size | number | number of coordinates in the sequence |
| dims | number | dimensionality of the coordinates (2, 3 or 4) |
geos.GEOSCoordSeq_create_r ⇒ GEOSCoordSequence ⏏
Create a coordinate sequence.
Kind: global property of geos
Returns: GEOSCoordSequence - the sequence or NULL on exception
| Param | Type | Description |
|---|---|---|
| handle | GEOSContextHandle_t | - |
| size | number | number of coordinates in the sequence |
| dims | number | dimensionality of the coordinates (2, 3 or 4) |
geos.GEOSCoordSeq_destroy ⇒ null ⏏
Destroy a coordinate sequence, freeing all memory.
Kind: global property of geos
Returns: null - void
| Param | Type | Description |
|---|---|---|
| s | GEOSCoordSequence | the coordinate sequence to destroy |
geos.GEOSCoordSeq_destroy_r ⇒ null ⏏
Destroy a coordinate sequence, freeing all memory.
Kind: global property of geos
Returns: null - void
| Param | Type | Description |
|---|---|---|
| handle | GEOSContextHandle_t | - |
| s | GEOSCoordSequence | the coordinate sequence to destroy |
geos.GEOSCoordSeq_getDimensions ⇒ number ⏏
Get dimension info from a coordinate sequence.
Kind: global property of geos
Returns: number - 0 on exception
| Param | Type | Description |
|---|---|---|
| s | GEOSCoordSequence | the coordinate sequence |
| dims | NumberPointer | pointer where dimension value will be placed |
geos.GEOSCoordSeq_getDimensions_r ⇒ number ⏏
Get dimension info from a coordinate sequence.
Kind: global property of geos
Returns: number - 0 on exception
| Param | Type | Description |
|---|---|---|
| handle | GEOSContextHandle_t | - |
| s | GEOSCoordSequence | the coordinate sequence |
| dims | NumberPointer | pointer where dimension value will be placed |
geos.GEOSCoordSeq_getOrdinate ⇒ number ⏏
Read Nth ordinate value from a coordinate sequence.
Kind: global property of geos
Returns: number - 0 on exception
| Param | Type | Description |
|---|---|---|
| s | GEOSCoordSequence | the coordinate sequence |
| idx | number | the index of the coordinate to alter, zero based |
| dim | number | the dimension number of the ordinate to read, zero based |
| val | NumberPointer | pointer where ordinate value will be placed |
geos.GEOSCoordSeq_getOrdinate_r ⇒ number ⏏
Read Nth ordinate value from a coordinate sequence.
Kind: global property of geos
Returns: number - 0 on exception
| Param | Type | Description |
|---|---|---|
| handle | GEOSContextHandle_t | - |
| s | GEOSCoordSequence | the coordinate sequence |
| idx | number | the index of the coordinate to alter, zero based |
| dim | number | the dimension number of the ordinate to read, zero based |
| val | NumberPointer | pointer where ordinate value will be placed |
geos.GEOSCoordSeq_getSize ⇒ number ⏏
Get size info from a coordinate sequence.
Kind: global property of geos
Returns: number - 0 on exception
| Param | Type | Description |
|---|---|---|
| s | GEOSCoordSequence | the coordinate sequence |
| size | NumberPointer | pointer where size value will be placed |
geos.GEOSCoordSeq_getSize_r ⇒ number ⏏
Get size info from a coordinate sequence.
Kind: global property of geos
Returns: number - 0 on exception
| Param | Type | Description |
|---|---|---|
| handle | GEOSContextHandle_t | - |
| s | GEOSCoordSequence | the coordinate sequence |
| size | NumberPointer | pointer where size value will be placed |
geos.GEOSCoordSeq_getX ⇒ number ⏏
Read X ordinate values from a coordinate sequence.
Kind: global property of geos
Returns: number - 0 on exception
| Param | Type | Description |
|---|---|---|
| s | GEOSCoordSequence | the coordinate sequence |
| idx | number | the index of the coordinate to alter, zero based |
| val | NumberPointer | pointer where ordinate value will be placed |
geos.GEOSCoordSeq_getXY ⇒ number ⏏
Read X and Y ordinate values from a coordinate sequence.
Kind: global property of geos
Returns: number - 0 on exception
| Param | Type | Description |
|---|---|---|
| s | GEOSCoordSequence | the coordinate sequence |
| idx | number | the index of the coordinate to alter, zero based |
| x | NumberPointer | pointer where ordinate X value will be placed |
| y | NumberPointer | pointer where ordinate Y value will be placed |
geos.GEOSCoordSeq_getXYZ ⇒ number ⏏
Read X and Y ordinate values from a coordinate sequence.
Kind: global property of geos
Returns: number - 0 on exception
| Param | Type | Description |
|---|---|---|
| s | GEOSCoordSequence | the coordinate sequence |
| idx | number | the index of the coordinate to alter, zero based |
| x | NumberPointer | pointer where ordinate X value will be placed |
| y | NumberPointer | pointer where ordinate Y value will be placed |
| z | NumberPointer | pointer where ordinate Z value will be placed |
geos.GEOSCoordSeq_getXYZ_r ⇒ number ⏏
Read X and Y ordinate values from a coordinate sequence.
Kind: global property of geos
Returns: number - 0 on exception
| Param | Type | Description |
|---|---|---|
| handle | GEOSContextHandle_t | - |
| s | GEOSCoordSequence | the coordinate sequence |
| idx | number | the index of the coordinate to alter, zero based |
| x | NumberPointer | pointer where ordinate X value will be placed |
| y | NumberPointer | pointer where ordinate Y value will be placed |
| z | NumberPointer | pointer where ordinate Z value will be placed |
geos.GEOSCoordSeq_getXY_r ⇒ number ⏏
Read X and Y ordinate values from a coordinate sequence.
Kind: global property of geos
Returns: number - 0 on exception
| Param | Type | Description |
|---|---|---|
| handle | GEOSContextHandle_t | - |
| s | GEOSCoordSequence | the coordinate sequence |
| idx | number | the index of the coordinate to alter, zero based |
| x | NumberPointer | pointer where ordinate X value will be placed |
| y | NumberPointer | pointer where ordinate Y value will be placed |
geos.GEOSCoordSeq_getX_r ⇒ number ⏏
Read X ordinate values from a coordinate sequence.
Kind: global property of geos
Returns: number - 0 on exception
| Param | Type | Description |
|---|---|---|
| handle | GEOSContextHandle_t | - |
| s | GEOSCoordSequence | the coordinate sequence |
| idx | number | the index of the coordinate to alter, zero based |
| val | NumberPointer | pointer where ordinate value will be placed |
geos.GEOSCoordSeq_getY ⇒ number ⏏
Read Y ordinate values from a coordinate sequence.
Kind: global property of geos
Returns: number - 0 on exception
| Param | Type | Description |
|---|---|---|
| s | GEOSCoordSequence | the coordinate sequence |
| idx | number | the index of the coordinate to alter, zero based |
| val | NumberPointer | pointer where ordinate value will be placed |
geos.GEOSCoordSeq_getY_r ⇒ number ⏏
Read Y ordinate values from a coordinate sequence.
Kind: global property of geos
Returns: number - 0 on exception
| Param | Type | Description |
|---|---|---|
| handle | GEOSContextHandle_t | - |
| s | GEOSCoordSequence | the coordinate sequence |
| idx | number | the index of the coordinate to alter, zero based |
| val | NumberPointer | pointer where ordinate value will be placed |
geos.GEOSCoordSeq_getZ ⇒ number ⏏
Read Z ordinate values from a coordinate sequence.
Kind: global property of geos
Returns: number - 0 on exception
| Param | Type | Description |
|---|---|---|
| s | GEOSCoordSequence | the coordinate sequence |
| idx | number | the index of the coordinate to alter, zero based |
| val | NumberPointer | pointer where ordinate value will be placed |
geos.GEOSCoordSeq_getZ_r ⇒ number ⏏
Read Z ordinate values from a coordinate sequence.
Kind: global property of geos
Returns: number - 0 on exception
| Param | Type | Description |
|---|---|---|
| handle | GEOSContextHandle_t | - |
| s | GEOSCoordSequence | the coordinate sequence |
| idx | number | the index of the coordinate to alter, zero based |
| val | NumberPointer | pointer where ordinate value will be placed |
geos.GEOSCoordSeq_isCCW ⇒ number ⏏
Check orientation of a coordinate sequence. Closure of the sequence is assumed. Invalid (collapsed) or short (fewer than 4 points) sequences return false.
Kind: global property of geos
Returns: number - 0 on exception, 1 on success
| Param | Type | Description |
|---|---|---|
| s | GEOSCoordSequence | the coordinate sequence |
| is_ccw | StringPointer | pointer for ccw value, 1 if counter-clockwise orientation, 0 otherwise |
geos.GEOSCoordSeq_isCCW_r ⇒ number ⏏
Check orientation of a coordinate sequence. Closure of the sequence is assumed. Invalid (collapsed) or short (fewer than 4 points) sequences return false.
Kind: global property of geos
Returns: number - 0 on exception, 1 on success
| Param | Type | Description |
|---|---|---|
| handle | GEOSContextHandle_t | - |
| s | GEOSCoordSequence | the coordinate sequence |
| is_ccw | StringPointer | pointer for ccw value, 1 if counter-clockwise orientation, 0 otherwise |
geos.GEOSCoordSeq_setOrdinate ⇒ number ⏏
Set Nth ordinate value in a coordinate sequence.
Kind: global property of geos
Returns: number - 0 on exception
| Param | Type | Description |
|---|---|---|
| s | GEOSCoordSequence | the coordinate sequence |
| idx | number | the index of the coordinate to alter, zero based |
| dim | number | the dimension number of the ordinate to alter, zero based |
| val | number | the value to set the ordinate to |
geos.GEOSCoordSeq_setOrdinate_r ⇒ number ⏏
Set Nth ordinate value in a coordinate sequence.
Kind: global property of geos
Returns: number - 0 on exception
| Param | Type | Description |
|---|---|---|
| handle | GEOSContextHandle_t | - |
| s | GEOSCoordSequence | the coordinate sequence |
| idx | number | the index of the coordinate to alter, zero based |
| dim | number | the dimension number of the ordinate to alter, zero based |
| val | number | the value to set the ordinate to |
geos.GEOSCoordSeq_setX ⇒ number ⏏
Set X ordinate values in a coordinate sequence.
Kind: global property of geos
Returns: number - 0 on exception
| Param | Type | Description |
|---|---|---|
| s | GEOSCoordSequence | the coordinate sequence |
| idx | number | the index of the coordinate to alter, zero based |
| val | number | the value to set the ordinate to |
geos.GEOSCoordSeq_setXY ⇒ number ⏏
Set X and Y ordinate values in a coordinate sequence simultaneously.
Kind: global property of geos
Returns: number - 0 on exception
| Param | Type | Description |
|---|---|---|
| s | GEOSCoordSequence | the coordinate sequence |
| idx | number | the index of the coordinate to alter, zero based |
| x | number | the value to set the X ordinate to |
| y | number | the value to set the Y ordinate to |
geos.GEOSCoordSeq_setXYZ ⇒ number ⏏
Set X, Y and Z ordinate values in a coordinate sequence simultaneously.
Kind: global property of geos
Returns: number - 0 on exception
| Param | Type | Description |
|---|---|---|
| s | GEOSCoordSequence | the coordinate sequence |
| idx | number | the index of the coordinate to alter, zero based |
| x | number | the value to set the X ordinate to |
| y | number | the value to set the Y ordinate to |
| z | number | the value to set the Z ordinate to |
geos.GEOSCoordSeq_setXYZ_r ⇒ number ⏏
Set X, Y and Z ordinate values in a coordinate sequence simultaneously.
Kind: global property of geos
Returns: number - 0 on exception
| Param | Type | Description |
|---|---|---|
| handle | GEOSContextHandle_t | - |
| s | GEOSCoordSequence | the coordinate sequence |
| idx | number | the index of the coordinate to alter, zero based |
| x | number | the value to set the X ordinate to |
| y | number | the value to set the Y ordinate to |
| z | number | the value to set the Z ordinate to |
geos.GEOSCoordSeq_setXY_r ⇒ number ⏏
Set X and Y ordinate values in a coordinate sequence simultaneously.
Kind: global property of geos
Returns: number - 0 on exception
| Param | Type | Description |
|---|---|---|
| handle | GEOSContextHandle_t | - |
| s | GEOSCoordSequence | the coordinate sequence |
| idx | number | the index of the coordinate to alter, zero based |
| x | number | the value to set the X ordinate to |
| y | number | the value to set the Y ordinate to |
geos.GEOSCoordSeq_setX_r ⇒ number ⏏
Set X ordinate values in a coordinate sequence.
Kind: global property of geos
Returns: number - 0 on exception
| Param | Type | Description |
|---|---|---|
| handle | GEOSContextHandle_t | - |
| s | GEOSCoordSequence | the coordinate sequence |
| idx | number | the index of the coordinate to alter, zero based |
| val | number | the value to set the ordinate to |
geos.GEOSCoordSeq_setY ⇒ number ⏏
Set Y ordinate values in a coordinate sequence.
Kind: global property of geos
Returns: number - 0 on exception
| Param | Type | Description |
|---|---|---|
| s | GEOSCoordSequence | the coordinate sequence |
| idx | number | the index of the coordinate to alter, zero based |
| val | number | the value to set the ordinate to |
geos.GEOSCoordSeq_setY_r ⇒ number ⏏
Set Y ordinate values in a coordinate sequence.
Kind: global property of geos
Returns: number - 0 on exception
| Param | Type | Description |
|---|---|---|
| handle | GEOSContextHandle_t | - |
| s | GEOSCoordSequence | the coordinate sequence |
| idx | number | the index of the coordinate to alter, zero based |
| val | number | the value to set the ordinate to |
geos.GEOSCoordSeq_setZ ⇒ number ⏏
Set Z ordinate values in a coordinate sequence.
Kind: global property of geos
Returns: number - 0 on exception
| Param | Type | Description |
|---|---|---|
| s | GEOSCoordSequence | the coordinate sequence |
| idx | number | the index of the coordinate to alter, zero based |
| val | number | the value to set the ordinate to |
geos.GEOSCoordSeq_setZ_r ⇒ number ⏏
Set Z ordinate values in a coordinate sequence.
Kind: global property of geos
Returns: number - 0 on exception
| Param | Type | Description |
|---|---|---|
| handle | GEOSContextHandle_t | - |
| s | GEOSCoordSequence | the coordinate sequence |
| idx | number | the index of the coordinate to alter, zero based |
| val | number | the value to set the ordinate to |