Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
pg
v0.24.0
PG
BoolArray
CharArray
Connection
Driver
EscapeHelper
Float32Array
Float64Array
Geo
Box
Circle
Line
LineSegment
Path
Point
Polygon
Int16Array
Int32Array
Int64Array
Interval
ListenConnection
Numeric
NumericArray
PGValue
ResultSet
RuntimeError
Statement
StringArray
TimeArray
PQ
ConnectionError
ConnInfo
Field
Notice
Notification
PQError
Built with Crystal 1.9.2
2023-10-08 14:33:54 UTC
struct
PG::Geo::Point
PG::Geo::Point
Struct
Value
Object
Defined in:
pg/geo.cr
Constructors
.new
(x : Float64, y : Float64)
Instance Method Summary
#clone
#copy_with
(x _x = @x, y _y = @y)
#x
: Float64
#y
: Float64
Constructor Detail
def self.
new
(x : Float64, y : Float64)
#
[
View source
]
Instance Method Detail
def
clone
#
[
View source
]
def
copy_with
(x _x = @x, y _y = @y)
#
[
View source
]
def
x
: Float64
#
def
y
: Float64
#