Lines Matching refs:i
167 for ($i = 0; $i < $numPoints; ++$i) {
169 $lat1 = $points[$i]->y() * $rad;
170 $lat2 = $points[$i + 1]->y() * $rad;
171 $lon1 = $points[$i]->x() * $rad;
172 $lon2 = $points[$i + 1]->x() * $rad;
184 if ($points[$i]->is3D()) {
187 pow($points[$i + 1]->z() - $points[$i]->z(), 2)
205 for ($i = 0; $i < $numPoints; ++$i) {
206 $point = $points[$i];
207 $nextPoint = $points[$i + 1];
236 for ($i = 0; $i < $numPoints; ++$i) {
238 $lat1 = $points[$i]->y() * $rad;
239 $lat2 = $points[$i + 1]->y() * $rad;
240 $lng1 = $points[$i]->x() * $rad;
241 $lng2 = $points[$i + 1]->x() * $rad;
343 foreach ($this->getPoints() as $i => $point) {
344 if (abs($point->z() - $lastEle) > $verticalTolerance || $i === $pointCount - 1) {
368 foreach ($this->getPoints() as $i => $point) {
369 if (abs($point->z() - $lastEle) > $verticalTolerance || $i === $pointCount - 1) {
416 for ($i = 1; $i < $numPoints; ++$i) {
417 $segment = [$points[$i - 1], $points[$i]];
447 foreach ($segments as $i => $segment) {
449 if ($i != $j) {