ZPP_Vec2

zpp_nape.geom.ZPP_Vec2 (Class)

Static Members

nape
zpp_pool: ZPP_Vec2

nape
get(x: Float, y: Float, ?immutable: Bool = false): ZPP_Vec2
Name Type Default
x Float
y Float
immutable Bool false
Returns
ZPP_Vec2

Instance Members

nape
outer: Null<nape.geom.Vec2>

nape
weak: Bool


nape
modified: Bool

nape
pushmod: Bool

nape
length: Int

nape
x: Float

nape
y: Float

nape
validate(): Void

nape
invalidate(): Void

nape
immutable(): Void

nape
wrapper(): nape.geom.Vec2
Returns
nape.geom.Vec2

nape
free(): Void

nape
alloc(): Void

nape
elem(): ZPP_Vec2
Returns
ZPP_Vec2

nape
begin(): ZPP_Vec2
Returns
ZPP_Vec2

nape
setbegin(i: ZPP_Vec2): Void
Name Type
i ZPP_Vec2

nape
add(o: ZPP_Vec2): ZPP_Vec2
Name Type
o ZPP_Vec2
Returns
ZPP_Vec2

nape
inlined_add(o: ZPP_Vec2): ZPP_Vec2
Name Type
o ZPP_Vec2
Returns
ZPP_Vec2

nape
addAll(x: ZPP_Vec2): Void
Name Type
x ZPP_Vec2

nape
insert(cur: ZPP_Vec2, o: ZPP_Vec2): ZPP_Vec2
Name Type
cur ZPP_Vec2
o ZPP_Vec2
Returns
ZPP_Vec2

nape
inlined_insert(cur: ZPP_Vec2, o: ZPP_Vec2): ZPP_Vec2
Name Type
cur ZPP_Vec2
o ZPP_Vec2
Returns
ZPP_Vec2

nape
pop(): Void

nape
inlined_pop(): Void

nape
pop_unsafe(): ZPP_Vec2
Returns
ZPP_Vec2

nape
inlined_pop_unsafe(): ZPP_Vec2
Returns
ZPP_Vec2

nape
remove(obj: ZPP_Vec2): Void
Name Type
obj ZPP_Vec2

nape
try_remove(obj: ZPP_Vec2): Bool
Name Type
obj ZPP_Vec2
Returns
Bool

nape
inlined_remove(obj: ZPP_Vec2): Void
Name Type
obj ZPP_Vec2

nape
inlined_try_remove(obj: ZPP_Vec2): Bool
Name Type
obj ZPP_Vec2
Returns
Bool

nape
erase(pre: ZPP_Vec2): ZPP_Vec2
Name Type
pre ZPP_Vec2
Returns
ZPP_Vec2

nape
inlined_erase(pre: ZPP_Vec2): ZPP_Vec2
Name Type
pre ZPP_Vec2
Returns
ZPP_Vec2

nape
splice(pre: ZPP_Vec2, n: Int): ZPP_Vec2
Name Type
pre ZPP_Vec2
n Int
Returns
ZPP_Vec2

nape
clear(): Void

nape
inlined_clear(): Void

nape
reverse(): Void

nape
empty(): Bool
Returns
Bool

nape
size(): Int
Returns
Int

nape
has(obj: ZPP_Vec2): Bool
Name Type
obj ZPP_Vec2
Returns
Bool

nape
inlined_has(obj: ZPP_Vec2): Bool
Name Type
obj ZPP_Vec2
Returns
Bool

nape
front(): ZPP_Vec2
Returns
ZPP_Vec2

nape
back(): ZPP_Vec2
Returns
ZPP_Vec2

nape
iterator_at(ind: Int): ZPP_Vec2
Name Type
ind Int
Returns
ZPP_Vec2

nape
at(ind: Int): ZPP_Vec2
Name Type
ind Int
Returns
ZPP_Vec2

nape
copy(): ZPP_Vec2
Returns
ZPP_Vec2

nape
toString(): String
Returns
String

nape
new(): Void