API Reference › Globals › PartArray
# Class: PartArray
# Hierarchy
-
↳ PartArray
# Index
# Methods
# Methods
# clone
▸ clone(index
: number): EmsArray‹KernelPart›
Defined in packages/typings/ems.ts:7
Parameters:
Name | Type |
---|---|
index | number |
Returns: EmsArray‹KernelPart›
# delete
▸ delete(index
: number): void
Inherited from EmsArray.delete
Defined in packages/typings/ems.ts:8
Parameters:
Name | Type |
---|---|
index | number |
Returns: void
# deleteLater
▸ deleteLater(index
: number): void
Inherited from EmsArray.deleteLater
Overrides EmsArray.deleteLater
Defined in packages/typings/ems.ts:9
Parameters:
Name | Type |
---|---|
index | number |
Returns: void
# get
▸ get(index
: number): KernelPart
Defined in packages/typings/ems.ts:2
Parameters:
Name | Type |
---|---|
index | number |
Returns: KernelPart
# isAliasOf
▸ isAliasOf(index
: number): boolean
Inherited from EmsArray.isAliasOf
Defined in packages/typings/ems.ts:10
Parameters:
Name | Type |
---|---|
index | number |
Returns: boolean
# isDeleted
▸ isDeleted(index
: number): boolean
Inherited from EmsArray.isDeleted
Defined in packages/typings/ems.ts:11
Parameters:
Name | Type |
---|---|
index | number |
Returns: boolean
# push_back
▸ push_back(element
: KernelPart): void
Inherited from EmsArray.push_back
Defined in packages/typings/ems.ts:3
Parameters:
Name | Type |
---|---|
element | KernelPart |
Returns: void
# resize
▸ resize(from
: number, to
: number): void
Inherited from EmsArray.resize
Defined in packages/typings/ems.ts:4
Parameters:
Name | Type |
---|---|
from | number |
to | number |
Returns: void
# set
▸ set(index
: number, element
: KernelPart): KernelPart
Defined in packages/typings/ems.ts:5
Parameters:
Name | Type |
---|---|
index | number |
element | KernelPart |
Returns: KernelPart
# size
▸ size(): number
Defined in packages/typings/ems.ts:6
Returns: number