Ejemplo n.º 1
0
 /**
  * @expectedException \Brick\Geo\Exception\InvalidGeometryException
  */
 public function testCreateWithInteriorRings()
 {
     $exteriorRing = LineString::fromText('LINESTRING (0 0, 0 3, 3 3, 0 0)');
     $interiorRing = LineString::fromText('LINESTRING (1 1, 1 2, 2 2, 1 1)');
     Triangle::of($exteriorRing, $interiorRing);
 }