toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-foundation
/
korlibs.math.geom.trapezoid
/
FTrianglesInt
FTriangles
Int
class
FTrianglesInt
Members
Constructors
FTriangles
Int
Link copied to clipboard
constructor
(
)
Types
Companion
Link copied to clipboard
object
Companion
Item
Link copied to clipboard
inline
class
Item
(
val
index
:
Int
)
Properties
coords
Link copied to clipboard
val
coords
:
IntArrayList
indices
Link copied to clipboard
val
indices
:
IntArrayList
size
Link copied to clipboard
val
size
:
Int
x0
Link copied to clipboard
var
FTrianglesInt.Item
.
x0
:
Int
x1
Link copied to clipboard
var
FTrianglesInt.Item
.
x1
:
Int
x2
Link copied to clipboard
var
FTrianglesInt.Item
.
x2
:
Int
y0
Link copied to clipboard
var
FTrianglesInt.Item
.
y0
:
Int
y1
Link copied to clipboard
var
FTrianglesInt.Item
.
y1
:
Int
y2
Link copied to clipboard
var
FTrianglesInt.Item
.
y2
:
Int
Functions
add
Link copied to clipboard
fun
add
(
v
:
FTrianglesInt.Item
)
:
FTrianglesInt.Item
fun
add
(
v
:
MTriangleInt
)
:
FTrianglesInt.Item
fun
add
(
x0
:
Int
,
y0
:
Int
,
x1
:
Int
,
y1
:
Int
,
x2
:
Int
,
y2
:
Int
)
:
FTrianglesInt.Item
fast
For
Each
Link copied to clipboard
inline
fun
fastForEach
(
block
:
FTrianglesInt
.
(
FTrianglesInt.Item
)
->
Unit
)
get
Link copied to clipboard
operator
fun
get
(
index
:
Int
)
:
FTrianglesInt.Item
map
Link copied to clipboard
inline
fun
<
T
>
map
(
block
:
FTrianglesInt
.
(
FTrianglesInt.Item
)
->
T
)
:
List
<
T
>
to
Triangle
Int
Link copied to clipboard
fun
FTrianglesInt.Item
.
toTriangleInt
(
out
:
MTriangleInt
=
MTriangleInt()
)
:
MTriangleInt
to
Triangle
Int
List
Link copied to clipboard
fun
toTriangleIntList
(
)
:
List
<
MTriangleInt
>