computeFeature

open fun <F : StructureFeature> computeFeature(structure: Matrix<T>, type: KClass<out F>): F?

Compute a feature of the structure in this scope. Structure features take precedence other context features.

Return

a feature object or null if it isn't present.

Parameters

F

the type of feature.

structure

the structure.

type

the KClass instance of F.

Sources

Link copied to clipboard