toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-foundation
/
korlibs.math.geom.vector
/
MEdge
/
Companion
Companion
object
Companion
Members
Functions
_get
Intersect
XY
Link copied to clipboard
inline
fun
_getIntersectXY
(
a
:
MEdge
,
b
:
MEdge
)
:
Vector2I
?
angle
Between
Link copied to clipboard
fun
angleBetween
(
a
:
MEdge
,
b
:
MEdge
)
:
Angle
are
Parallel
Link copied to clipboard
fun
areParallel
(
a
:
MEdge
,
b
:
MEdge
)
:
Boolean
get
Intersect
X
Link copied to clipboard
fun
getIntersectX
(
a
:
MEdge
,
b
:
MEdge
)
:
Int
get
Intersect
XY
Link copied to clipboard
fun
getIntersectXY
(
a
:
MEdge
,
b
:
MEdge
)
:
Point
?
fun
getIntersectXY
(
Ax
:
Double
,
Ay
:
Double
,
Bx
:
Double
,
By
:
Double
,
Cx
:
Double
,
Cy
:
Double
,
Dx
:
Double
,
Dy
:
Double
)
:
Point
?
get
Intersect
XYInt
Link copied to clipboard
fun
getIntersectXYInt
(
a
:
MEdge
,
b
:
MEdge
)
:
Vector2I
?
get
Intersect
Y
Link copied to clipboard
fun
getIntersectY
(
a
:
MEdge
,
b
:
MEdge
)
:
Int
invoke
Link copied to clipboard
operator
fun
invoke
(
a
:
PointInt
,
b
:
PointInt
,
wind
:
Int
=
0
)
:
MEdge
operator
fun
invoke
(
ax
:
Int
,
ay
:
Int
,
bx
:
Int
,
by
:
Int
,
wind
:
Int
=
0
)
:
MEdge