ImFusion Web SDK

AlgorithmList

List of Algorithms as returned e.g. from compatibleAlgorithms

Extends

Methods

MethodDescription
size()Returns the size of the list.
get()Returns the algorithm at the specified index.

Inherited from ClassHandle

MethodDescription
isAliasOf()Returns true if this handle and other alias the same underlying C++ object.
delete()Releases this JavaScript handle.
deleteLater()Schedules this handle for deferred deletion and returns this handle.
isDeleted()Returns true if this handle has already been deleted.
[dispose]()Releases this handle when the enclosing scope exits, so a handle can be declared with using instead of calling delete() later manually.
clone()Returns a new JavaScript handle aliasing the same underlying C++ object.

size()

ts
size(): number;

Returns the size of the list.

Returns

number


get()

ts
get(index: number): Algorithm;

Returns the algorithm at the specified index.

Parameters

ParameterType
indexnumber

Returns

Algorithm

Throws

when passed an out-of-bounds index

On this page