Bitrix API

MultiPolygon extends Collection

Collection: Abstract class for compound geometries

A geometry is a collection if it is made up of other component geometries. Therefore, everything but a Point is a Collection. For example a LineString is a collection of Points. A Polygon is a collection of LineStrings etc.

Table of Contents

Methods

__construct()  : mixed
Constructor: Checks and sets component geometries
asArray()  : array<string|int, mixed>
contains()  : bool|null
getComponents()  : array<string|int, BaseGeometry>
getComponentsCount()  : int
getGeometryType()  : string

Methods

__construct()

Constructor: Checks and sets component geometries

public __construct([array<string|int, mixed> $components = [] ]) : mixed
Parameters
$components : array<string|int, mixed> = []

array of geometries

asArray()

public asArray() : array<string|int, mixed>
Tags
inheritDoc
Return values
array<string|int, mixed>

getComponentsCount()

public getComponentsCount() : int
Return values
int

getGeometryType()

public getGeometryType() : string
Return values
string

        
On this page

Search results