Lines Matching refs:length
74 public function getCentroidAndLength(&$length = 0.0)
89 $length = 0.0;
99 $length += $segmentLength;
105 if ($length === 0.0) {
108 return new Point($x / $length, $y / $length);
112 * Returns the length of this Curve in its associated spatial reference.
113 * Eg. if Geometry is in geographical coordinate system it returns the length in degrees
116 public function length()
121 return $this->getGeos()->length();
124 $length = 0.0;
129 $length += sqrt(
136 return $length;
141 $length = 0.0;
146 $length += sqrt(
154 return $length;
163 $length = 0.0;
191 $length += $d;
193 // Returns length in meters.
194 return $length;
198 * @return float Haversine length of geometry in degrees
232 $length = 0.0;
291 $length += $b * $A * ($sigma - $deltaSigma);
293 // Returns length in meters.
294 return $length;