Exemplo n.º 1
0
 /**
  * {@inheritdoc}
  */
 public function coordinateSystem()
 {
     if ($this->proxyGeometry === null) {
         $this->load();
     }
     return $this->proxyGeometry->coordinateSystem();
 }
Exemplo n.º 2
0
 /**
  * Creates a non-empty PolyhedralSurface composed of the given patches.
  *
  * @param Polygon    $patch1 The first patch.
  * @param Polygon ...$patchN The subsequent patches, if any.
  *
  * @return PolyhedralSurface
  *
  * @throws CoordinateSystemException If the patches use different coordinate systems.
  */
 public static function of(Polygon $patch1, Polygon ...$patchN)
 {
     return new static($patch1->coordinateSystem(), $patch1, ...$patchN);
 }