struct PostGIS::Polygon(Point)

Overview

Rings of points: the first is the exterior ring, the rest are holes. All polygons must be closed (the first point is equal to the last). For an unclosed version, use LineString.

Defined in:

postgis.cr

Constructors

Instance Method Summary

Instance methods inherited from struct PostGIS::Geometry

initialize initialize

Constructor methods inherited from struct PostGIS::Geometry

new new

Constructor Detail

def self.new(rings : Array(Array(Point))) #

[View source]

Instance Method Detail

def rings : Array(Array(Point)) #

[View source]
def sections : Array(Array(Point)) #

DEPRECATED Use #rings instead.


[View source]