struct WKB::Polygon
 
  - WKB::Polygon
 - WKB::Geometry
 - WKB::Object
 - Struct
 - Value
 - Object
 
Included Modules
Defined in:
wkb/geojson.crwkb/polygon.cr
Constructors
Instance Method Summary
- #exterior_ring : LineString
 - #interior_rings : Array(LineString)
 - #kind
 - #rings : Array(WKB::LineString)
 
Instance methods inherited from module WKB::LineStringSequenceable
  
  
    
      children
    children, 
    
  
    
      empty?(*args, **options)empty?(*args, **options, &) empty?, line_strings : Array(LineString) line_strings, size(*args, **options)
size(*args, **options, &) size, to_coordinates : Array(Array(Array(Float64))) to_coordinates
Constructor methods inherited from module WKB::LineStringSequenceable
  
  
    
      new(line_array : Array(Array(Array(Float64))), mode = Mode::XY, srid = 0)
    new
    
  
    
    
  
    
  Instance methods inherited from struct WKB::Geometry
  
  
    
      to_coordinates
    to_coordinates, 
    
  
    
      to_json(builder : JSON::Builder) : Nil
    to_json
    
  
    
  Constructor methods inherited from struct WKB::Geometry
  
  
    
      new(pull : JSON::PullParser)
    new
    
  
    
    
  
    
  Instance methods inherited from struct WKB::Object
  
  
    
      children
    children, 
    
  
    
      empty?
    empty?, 
    
  
    
      has_m?(*args, **options)has_m?(*args, **options, &) has_m?, has_z?(*args, **options)
has_z?(*args, **options, &) has_z?, has_zm?(*args, **options)
has_zm?(*args, **options, &) has_zm?, mode : WKB::Mode mode, size size, srid : Int32 srid, to_json(builder : JSON::Builder) to_json