korlibs
Toggle table of contents
6.1.0-SNAPSHOT
common
Target filter
common
Switch theme
Search in API
Skip to content
korlibs
korlibs-math-vector
/
korlibs.math.geom
/
Line2D
/
Companion
Companion
object
Companion
Members
Properties
Na
N
Link copied to clipboard
val
NaN
:
Line
NIL
Link copied to clipboard
val
NIL
:
Line
ZERO
Link copied to clipboard
val
ZERO
:
Line
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