kvision
Toggle table of contents
8.2.0
js
Platform filter
js
Switch theme
Search in API
kvision
kvision-maps
/
io.kvision.maps.externals.leaflet.geo
/
Coords
Coords
open
external
class
Coords
:
Point
(
source
)
Members
Constructors
Coords
Link copied to clipboard
constructor
(
)
Properties
x
Link copied to clipboard
var
x
:
Number
y
Link copied to clipboard
var
y
:
Number
z
Link copied to clipboard
var
z
:
Number
Functions
add
Link copied to clipboard
fun
add
(
otherPoint
:
Point
)
:
Point
non-destructive, returns a new point
ceil
Link copied to clipboard
fun
ceil
(
)
:
Point
clone
Link copied to clipboard
fun
clone
(
)
:
Point
contains
Link copied to clipboard
fun
contains
(
otherPoint
:
Point
)
:
Boolean
distance
To
Link copied to clipboard
fun
distanceTo
(
otherPoint
:
Point
)
:
Number
divide
By
Link copied to clipboard
fun
divideBy
(
num
:
Number
)
:
Point
equals
Link copied to clipboard
fun
equals
(
otherPoint
:
Point
)
:
Boolean
floor
Link copied to clipboard
fun
floor
(
)
:
Point
multiply
By
Link copied to clipboard
fun
multiplyBy
(
num
:
Number
)
:
Point
round
Link copied to clipboard
fun
round
(
)
:
Point
scale
By
Link copied to clipboard
fun
scaleBy
(
scale
:
Point
)
:
Point
subtract
Link copied to clipboard
fun
subtract
(
otherPoint
:
Point
)
:
Point
trunc
Link copied to clipboard
fun
trunc
(
)
:
Point
unscale
By
Link copied to clipboard
fun
unscaleBy
(
scale
:
Point
)
:
Point