Factory method. Creates and returns a new empty instance of the entity.
Find all repository items matching the filter parameters.
Gets all repository items. The cached data will be returned if the data has been fetched before. Using the forceFetch parameter, a user can order a fresh copy to be fetched from the server.
Flag whether to force a server request or not. False by default.
Array of resources.
Find Site Model Entities of a certain type within a given 2-dimensional radius [m] from a given point.
The SiteModelType to find.
The starting, central point to search from.
The maximum distance [m] from the central point.
Find the closest Site Model Entity of a certain type within a given 2-dimensional radius [m] from a given point.
The SiteModelType to find.
The starting, central point to search from.
The maximum distance [m] from the central point.
Gets one repository item by id. The cached data will be returned if the data has been fetched before. Using the forceFetch parameter, a user can order a fresh copy to be fetched from the server. In case a new record is fetched, the data will be updated accordingly.
False by default.
Find Site Model Entities from a given local coordinate with optional Site Model type.
Local point from which to find nearby Site Model Entities.
Reduce search to include only the given Site Model type.
Automatically generate a Site Model based on all datasets in the instance. Note that this will overwrite any existing Site Model data.
Deletes an item from the repository.
Save Site Model Entities of type "BUILDING" or "FREE SPACE NAVIGATION AREA" to the database. Note that children SMEs of the given Building/Free-Space-Navigation-Area SME will be overwritten.
Collection of SiteModelEntityInterfaces to create or update.
Update the attributes of the given Site Model Entities. Please note that this only persists data that are not geometric properties.
Collection of SiteModelEntityInterfaces to update.
Generated using TypeDoc
Site Model data repository.
The Site Model repository object enables standard create, read, update, and delete methods on Site Model Entities. Additional helpful methods are provided that enable more advanced retrieval of Site Model Entities.