Method: MapWKT::Geometry::Polygon#perimeter

Defined in:
lib/mapwkt/wkt/polygon.rb

#perimeterObject

Returns a LineString representing the geographical area treated as the outer perimeter of this Polygon’s enclosed area. Does not return the actual LineString object used in this Polygon.



27
28
29
# File 'lib/mapwkt/wkt/polygon.rb', line 27

def perimeter
  @perimeter.dup
end