示例#1
0
 /**
  * {@inheritdoc}
  */
 public function isMeasured()
 {
     if ($this->proxyGeometry === null) {
         $this->load();
     }
     return $this->proxyGeometry->isMeasured();
 }
示例#2
0
 /**
  * @param array        $coords       The expected coordinates of the MultiPolygon as returned by toArray().
  * @param boolean      $is3D         Whether the MultiPolygon is expected to contain Z coordinates.
  * @param boolean      $isMeasured   Whether the MultiPolygon is expected to contain M coordinates.
  * @param MultiPolygon $multiPolygon The MultiPolygon to test.
  */
 protected final function assertMultiPolygonEquals(array $coords, $is3D, $isMeasured, MultiPolygon $multiPolygon)
 {
     $this->castToFloat($coords);
     $this->assertSame($coords, $multiPolygon->toArray());
     $this->assertSame($is3D, $multiPolygon->is3D());
     $this->assertSame($isMeasured, $multiPolygon->isMeasured());
 }