toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-foundation
/
korlibs.math.geom.trapezoid
/
MTriangleInt
MTriangle
Int
data
class
MTriangleInt
(
var
x0
:
Int
,
var
y0
:
Int
,
var
x1
:
Int
,
var
y1
:
Int
,
var
x2
:
Int
,
var
y2
:
Int
)
:
ITriangleInt
Members
Constructors
MTriangle
Int
Link copied to clipboard
constructor
(
)
constructor
(
x0
:
Int
,
y0
:
Int
,
x1
:
Int
,
y1
:
Int
,
x2
:
Int
,
y2
:
Int
)
Properties
x0
Link copied to clipboard
open
override
var
x0
:
Int
x1
Link copied to clipboard
open
override
var
x1
:
Int
x2
Link copied to clipboard
open
override
var
x2
:
Int
y0
Link copied to clipboard
open
override
var
y0
:
Int
y1
Link copied to clipboard
open
override
var
y1
:
Int
y2
Link copied to clipboard
open
override
var
y2
:
Int
Functions
copy
From
Link copied to clipboard
fun
copyFrom
(
other
:
MTriangleInt
)
set
To
Link copied to clipboard
fun
setTo
(
x0
:
Int
,
y0
:
Int
,
x1
:
Int
,
y1
:
Int
,
x2
:
Int
,
y2
:
Int
)
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String