Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Класс Collection
+ Граф наследования:Collection:

Открытые члены

 __construct (array $components=[])
 
 getComponents ()
 
 getComponentsCount ()
 
 asArray ()
 
- Открытые члены унаследованные от BaseGeometry
 getGeometryType ()
 
 contains (BaseGeometry $geometry)
 

Защищенные данные

 $components = []
 

Подробное описание

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.

См. определение в файле collection.php строка 15

Конструктор(ы)

◆ __construct()

__construct ( array $components = [])

Constructor: Checks and sets component geometries

Аргументы
array$componentsarray of geometries

См. определение в файле collection.php строка 25

Методы

◆ asArray()

asArray ( )

@inheritDoc

Переопределяет метод предка BaseGeometry.

См. определение в файле collection.php строка 59

◆ getComponents()

getComponents ( )
Возвращает
BaseGeometry[]

См. определение в файле collection.php строка 43

◆ getComponentsCount()

getComponentsCount ( )
Возвращает
int

См. определение в файле collection.php строка 51

Данные класса

◆ $components

$components = []
protected

См. определение в файле collection.php строка 18