Class: Clusters

SG2D.Clusters(configopt, clusterClassopt) → {SG2DClusters}

Матрица кластеров

Constructor

new Clusters(configopt, clusterClassopt) → {SG2DClusters}

Конструктор

Parameters:
Name Type Attributes Default Description
config object <optional>
void 0

Конфигурация

Properties
Name Type Attributes Default Description
areasize number <optional>
128
clusterClass SG2DCluster <optional>
SG2D.Cluster

Класс кластера

Source:
Returns:
Type
SG2DClusters

Methods

(static) each()

Метод проекция на аналогичный метод singleton-экземпляра

Source:

(protected) clear()

Source:

(protected) destroy()

Source:

nearestClusters45()

Если функция checker выполняется хотя бы для одного соседнего кластера, то возвращается true, иначе false

Source:

nearestClusters90()

Если функция checker выполняется хотя бы для одного соседнего кластера, то возвращается true, иначе false

Source: