Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
pg
v0.28.0
PG
BoolArray
CharArray
Connection
Driver
ConnectionBuilder
EscapeHelper
Float32Array
Float64Array
Geo
Box
Circle
Line
LineSegment
Path
Point
Polygon
Int16Array
Int32Array
Int64Array
Interval
ListenConnection
Numeric
NumericArray
PGValue
ResultSet
RuntimeError
Statement
StringArray
TimeArray
UUIDArray
PQ
ConnectionError
ConnInfo
Field
Notice
Notification
PgPass
PQError
Built with Crystal 1.10.0
2023-12-21 15:24:26 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
#