toggle menu
maps-kt
0.3.1-dev
common
switch theme
search in API
maps-kt-scheme
/
space.kscience.maps.scheme
/
XY
XY
data
class
XY
(
val
x
:
Float
,
val
y
:
Float
)
:
Vector2D
<
Float
>
Members
Members & Extensions
Constructors
XY
Link copied to clipboard
constructor
(
x
:
Float
,
y
:
Float
)
Properties
size
Link copied to clipboard
open
override
val
size
:
Int
x
Link copied to clipboard
open
override
val
x
:
Float
y
Link copied to clipboard
open
override
val
y
:
Float
Functions
distance
To
Link copied to clipboard
open
fun
XY
.
distanceTo
(
b
:
XY
,
zoom
:
Float
)
:
Dp
distance
To
Line
Link copied to clipboard
open
fun
XY
.
distanceToLine
(
a
:
XY
,
b
:
XY
,
zoom
:
Float
)
:
Dp
get
Link copied to clipboard
open
operator override
fun
get
(
index
:
Int
)
:
Float
is
Inside
Polygon
Link copied to clipboard
open
override
fun
XY
.
isInsidePolygon
(
points
:
List
<
XY
>
)
:
Boolean
iterator
Link copied to clipboard
open
operator override
fun
iterator
(
)
:
Iterator
<
Float
>
offset
To
Link copied to clipboard
open
override
fun
XY
.
offsetTo
(
b
:
XY
,
zoom
:
Float
)
:
DpOffset