toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-foundation
/
korlibs.math.geom
/
PointIntArrayList
Point
Int
Array
List
open
class
PointIntArrayList
(
capacity
:
Int
=
7
)
:
PointIntList
,
Extra
Members
Members & Extensions
Constructors
Point
Int
Array
List
Link copied to clipboard
constructor
(
capacity
:
Int
=
7
)
Types
Companion
Link copied to clipboard
object
Companion
Point
Sort
Opts
Link copied to clipboard
object
PointSortOpts
:
SortOps
<
PointIntArrayList
>
Properties
closed
Link copied to clipboard
open
override
var
closed
:
Boolean
extra
Link copied to clipboard
open
override
var
extra
:
ExtraType
size
Link copied to clipboard
open
override
val
size
:
Int
Functions
add
Link copied to clipboard
fun
add
(
p
:
PointIntList
)
:
PointIntArrayList
fun
add
(
p
:
Vector2I
)
:
PointIntArrayList
fun
add
(
x
:
Int
,
y
:
Int
)
:
PointIntArrayList
add
Reverse
Link copied to clipboard
fun
addReverse
(
p
:
PointIntList
)
:
PointIntArrayList
clear
Link copied to clipboard
fun
clear
(
)
contains
Link copied to clipboard
fun
PointIntList
.
contains
(
x
:
Int
,
y
:
Int
)
:
Boolean
extra
Cache
Link copied to clipboard
fun
<
T
>
Extra
.
extraCache
(
name
:
String
,
block
:
(
)
->
T
)
:
T
fast
For
Each
Link copied to clipboard
inline
fun
fastForEach
(
block
:
(
x
:
Int
,
y
:
Int
)
->
Unit
)
fast
For
Each
Link copied to clipboard
inline
fun
PointIntList
.
fastForEach
(
block
:
(
x
:
Int
,
y
:
Int
)
->
Unit
)
fast
For
Each
Reverse
Link copied to clipboard
inline
fun
PointIntList
.
fastForEachReverse
(
block
:
(
x
:
Int
,
y
:
Int
)
->
Unit
)
get
Link copied to clipboard
open
fun
get
(
index
:
Int
)
:
PointInt
get
Extra
Link copied to clipboard
fun
Extra
.
getExtra
(
name
:
String
)
:
Any
?
get
Extra
Typed
Link copied to clipboard
fun
<
T
>
Extra
.
getExtraTyped
(
name
:
String
)
:
T
?
get
X
Link copied to clipboard
open
override
fun
getX
(
index
:
Int
)
:
Int
get
Y
Link copied to clipboard
open
override
fun
getY
(
index
:
Int
)
:
Int
has
Extra
Link copied to clipboard
fun
Extra
.
hasExtra
(
name
:
String
)
:
Boolean
is
Empty
Link copied to clipboard
fun
isEmpty
(
)
:
Boolean
is
Not
Empty
Link copied to clipboard
fun
isNotEmpty
(
)
:
Boolean
reverse
Link copied to clipboard
fun
reverse
(
)
set
Link copied to clipboard
operator
fun
set
(
index
:
Int
,
value
:
PointInt
)
set
Extra
Link copied to clipboard
fun
Extra
.
setExtra
(
name
:
String
,
value
:
Any
?
)
set
X
Link copied to clipboard
fun
setX
(
index
:
Int
,
x
:
Int
)
set
XY
Link copied to clipboard
fun
setXY
(
index
:
Int
,
x
:
Int
,
y
:
Int
)
set
Y
Link copied to clipboard
fun
setY
(
index
:
Int
,
y
:
Int
)
sort
Link copied to clipboard
fun
sort
(
)
swap
Link copied to clipboard
fun
swap
(
indexA
:
Int
,
indexB
:
Int
)
to
List
Link copied to clipboard
fun
toList
(
)
:
List
<
PointInt
>
to
Points
Link copied to clipboard
fun
PointIntList
.
toPoints
(
)
:
List
<
PointInt
>
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String