Path

Path data type in Postgres represented by lists of connected points.

Paths can be open, where the first and last points in the list are considered not connected, or closed, where the first and last points are considered connected.

package

Default

Methods

Path constructor

__construct( $path = null) 

Arguments

$path

mixed | null

getPoints

getPoints() : array

Response

array

isOpen

isOpen() : boolean

Response

boolean

setOpen

setOpen( $open) : $this

Arguments

$open

boolean

Response

$this

setPoints

setPoints( $points) : $this

Arguments

$points

Point|array

Response

$this