struct WKB::Point

Defined in:

wkb/geojson.cr
wkb/point.cr

Constructors

Instance Method Summary

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

Constructor methods inherited from struct WKB::Object

new(pull : JSON::PullParser) new

Constructor Detail

def self.new(coordinates : Array(Float64), mode = Mode::XY, srid = 0) #

def self.new(pull : JSON::PullParser) #

Instance Method Detail

def children #

def empty?(*args, **options) #

def empty?(*args, **options, &) #

def kind #

def m(*args, **options) #

def m(*args, **options, &) #

def position : Position #

def size #

def to_coordinates(*args, **options) #

def to_coordinates(*args, **options, &) #

def x(*args, **options) #

def x(*args, **options, &) #

def y(*args, **options) #

def y(*args, **options, &) #

def z(*args, **options) #

def z(*args, **options, &) #