SpatialClassifiers Class

Beta  

Exposes a list of classifiers that allow one ModelState to classify another SpatialModel or reality model. A spatial model can have a list of any number of available classifiers; at most one of those classifiers may be "active" at a given time.

see classifiers

Methods

Name Description
[Symbol.iterator](): Iterator<Classifier> Supplies an iterator over the list of available classifiers.  
push(classifier: Classifier): Classifier | undefined Adds a new classifier to the list, if an equivalent classifier is not already present.  

Properties

Name Type Description
active Accessor Classifier | undefined The currently-active classifier, if any is active.  
length Accessor ReadOnly number The number of available classifiers.  

Defined in

Last Updated: 13 June, 2024