struct WKB::LineString
 
  - WKB::LineString
 - WKB::Geometry
 - WKB::Object
 - Struct
 - Value
 - Object
 
Included Modules
- Indexable(WKB::Position)
 
Defined in:
wkb/geojson.crwkb/line_string.cr
Constructors
- .new(coordinates_array : Array(Array(Float64)), mode = Mode::XY, srid = 0)
 - .new(pull : JSON::PullParser)
 
Instance Method Summary
- #children : Array(WKB::Position)
 - #closed?
 - #kind
 - #open?
 - #positions : Array(Position)
 - #ring?
 - #size(*args, **options)
 - #size(*args, **options, &)
 - #to_coordinates : Array(Array(Float64))
 - #unsafe_fetch(*args, **options)
 - #unsafe_fetch(*args, **options, &)
 
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