Local location around which to get the closest image. Note that 3D vector will sort by absolute distance, so if you want orthographic, pass 2D vector.
Radius limit [m].
The Site Model Entities to restrict the search to.
Pass an undefined
item in the array to include images without a Site Model Entity.
The ImageInterface if found, otherwise rejects.
Find the closest non-hidden image to the target point. The target point is located in distance (dir * dist) in the direction of view.
The starting image from which to search.
The current viewing direction.
The direction modifier: +1 for forward, -1 for backward.
How far away to move to approximately.
The nearest image in the direction at the distance, or reject if none found.
This method will look for the closest image on the same floor as the location given. If not within a floor the closest image without a SiteModelEntityInterface will be returned.
The local location for which to return the nearest image, on the same floor.
Optionally only within a radius [m].
The ImageInterface if found, otherwise rejects.
Generated using TypeDoc
Finds the closest image for the given local position. Optionally with restriction to the given Site Model Entities (or none if the array contains
undefined
). Fails if no image is found.