CrEOF\Spatial\Tests\PHP\Types\Geometry\PolygonTest::testOpenPolygonRing PHP Méthode

testOpenPolygonRing() public méthode

Test Polygon with open ring
public testOpenPolygonRing ( )
    public function testOpenPolygonRing()
    {
        $rings = array(new LineString(array(new Point(0, 0), new Point(10, 0), new Point(10, 10), new Point(0, 10))));
        new Polygon($rings);
    }