toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-foundation
/
korlibs.math.geom
/
Line2D
/
Companion
Companion
object
Companion
Members
Properties
Na
N
Link copied to clipboard
val
NaN
:
Line2D
NIL
Link copied to clipboard
val
NIL
:
Line
ZERO
Link copied to clipboard
val
ZERO
:
Line2D
Functions
from
Point
And
Direction
Link copied to clipboard
fun
fromPointAndDirection
(
point
:
Point
,
direction
:
Point
,
scale
:
Double
=
1.0
)
:
Line
from
Point
Angle
Link copied to clipboard
fun
fromPointAngle
(
point
:
Point
,
angle
:
Angle
,
length
:
Double
=
1.0
)
:
Line
get
Intersect
XY
Link copied to clipboard
fun
getIntersectXY
(
a
:
Point
,
b
:
Point
,
c
:
Point
,
d
:
Point
)
:
Point
?
inline
fun
getIntersectXY
(
Ax
:
Double
,
Ay
:
Double
,
Bx
:
Double
,
By
:
Double
,
Cx
:
Double
,
Cy
:
Double
,
Dx
:
Double
,
Dy
:
Double
)
:
Point
?
length
Link copied to clipboard
fun
length
(
Ax
:
Double
,
Ay
:
Double
,
Bx
:
Double
,
By
:
Double
)
:
Double