Lines Matching refs:component
12 * component geometries. Therefore everything but a Point
23 * Constructor: Checks and sets component geometries
45 $components[$i]->geometryType() . 's (' . ($i + 1) . '. component)'
88 * Returns Collection component geometries
106 foreach ($this->components as $component) {
107 $component->invertXY();
140 // Go through each component and get the max and min x and y
142 foreach ($this->components as $i => $component) {
143 $componentBoundingBox = $component->getBBox();
148 // On the first run through, set the bounding box to the component's bounding box
179 foreach ($this->components as $component) {
180 $array[] = $component->asArray();
205 * A collection is not empty if it has at least one non empty component.
211 foreach ($this->components as $component) {
212 if (!$component->isEmpty()) {
225 foreach ($this->components as $component) {
226 $num += $component->numPoints();
237 // Same as array_merge($points, $component->getPoints()), but 500× faster
248 foreach ($geometry->components as $component) {
249 if ($component instanceof Point) {
250 $points[] = $component;
252 static::getPointsRecursive($component, $points);
312 foreach ($this->components as $component) {
313 foreach ($component->explode($toArray) as $part) {
323 foreach ($this->components as $component) {
324 $component->flatten();
341 foreach ($this->components as $component) {
342 $checkDistance = $component->distance($geometry);