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
/
Vector2D
/
Companion
/
orientation
orientation
fun
orientation
(
p1
:
Vector2D
,
p2
:
Vector2D
,
p3
:
Vector2D
,
up
:
Vector2D
=
UP
)
:
Double
< 0 left, > 0 right, 0 collinear
fun
orientation
(
ax
:
Float
,
ay
:
Float
,
bx
:
Float
,
by
:
Float
,
cx
:
Float
,
cy
:
Float
,
up
:
Vector2D
=
UP
)
:
Float
fun
orientation
(
ax
:
Double
,
ay
:
Double
,
bx
:
Double
,
by
:
Double
,
cx
:
Double
,
cy
:
Double
,
up
:
Vector2D
=
UP
)
:
Double