Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
multipolygon.php
1
<?php
2
3
namespace
Bitrix\Location\Geometry\Type
;
4
5
class
MultiPolygon
extends
Collection
6
{
10
public
function
contains
(
BaseGeometry
$geometry): bool
11
{
12
foreach
($this->components as $polygon)
13
{
14
if
($polygon->contains($geometry))
15
{
16
return
true
;
17
}
18
}
19
20
return
false
;
21
}
22
}
Bitrix\Location\Geometry\Type\BaseGeometry
Definition
basegeometry.php:6
Bitrix\Location\Geometry\Type\Collection
Definition
collection.php:16
Bitrix\Location\Geometry\Type\MultiPolygon
Definition
multipolygon.php:6
Bitrix\Location\Geometry\Type\MultiPolygon\contains
contains(BaseGeometry $geometry)
Definition
multipolygon.php:10
Bitrix\Location\Geometry\Type
Definition
basegeometry.php:3
modules
location
lib
geometry
type
multipolygon.php
Создано системой
1.10.0