toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-foundation
/
korlibs.math.geom.vector
/
MEdge
MEdge
class
MEdge
Members
Constructors
MEdge
Link copied to clipboard
constructor
(
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
abs
Cos
Link copied to clipboard
val
absCos
:
Double
abs
Sin
Link copied to clipboard
val
absSin
:
Double
angle
Link copied to clipboard
val
angle
:
Angle
ax
Link copied to clipboard
var
ax
:
Int
ay
Link copied to clipboard
var
ay
:
Int
bx
Link copied to clipboard
var
bx
:
Int
by
Link copied to clipboard
var
by
:
Int
cos
Link copied to clipboard
val
cos
:
Double
dx
Link copied to clipboard
var
dx
:
Int
dy
Link copied to clipboard
var
dy
:
Int
h
Link copied to clipboard
var
h
:
Int
is
Coplanar
X
Link copied to clipboard
var
isCoplanarX
:
Boolean
is
Coplanar
Y
Link copied to clipboard
var
isCoplanarY
:
Boolean
length
Link copied to clipboard
val
length
:
Float
max
X
Link copied to clipboard
val
maxX
:
Int
max
Y
Link copied to clipboard
val
maxY
:
Int
min
X
Link copied to clipboard
val
minX
:
Int
min
Y
Link copied to clipboard
val
minY
:
Int
sin
Link copied to clipboard
val
sin
:
Double
wind
Link copied to clipboard
var
wind
:
Int
Functions
contains
Y
Link copied to clipboard
fun
containsY
(
y
:
Int
)
:
Boolean
copy
From
Link copied to clipboard
fun
copyFrom
(
other
:
MEdge
)
:
MEdge
get
X
Link copied to clipboard
fun
getX
(
n
:
Int
)
:
Int
get
Y
Link copied to clipboard
fun
getY
(
n
:
Int
)
:
Int
intersect
X
Link copied to clipboard
fun
intersectX
(
y
:
Int
)
:
Int
set
To
Link copied to clipboard
fun
setTo
(
ax
:
Int
,
ay
:
Int
,
bx
:
Int
,
by
:
Int
,
wind
:
Int
)
:
MEdge
set
To
Half
Link copied to clipboard
fun
setToHalf
(
a
:
MEdge
,
b
:
MEdge
)
:
MEdge
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String
fun
toString
(
scale
:
Double
)
:
String