OptionaldisplayName: stringProtectedconnectedCreated timestamp
Object display name
ProtectedpositionObject identifier
Get the orientation of the object relative to the global reference space
Set the orientation of the object relative to the global reference space
Set the parent space
Set the parent symbolic location
Parent symbolic location
Get the current absolute position of the object relative to the global reference space
Absolute position of data object
Set the current absolute position of the object relative to the global reference space
Get relative positions
Array of relative positions
Get the transformation matrix for scaling
Transformation matrix
Add a connected space
Connected space
Optionalposition: T
Position of connection
instance
Add a relative position to this data object
Relative position to add
Data object instance
Bind the data object to a service
Service to bind it to
Data object binding with a service
Clone the data object
OptionaldataType: Constructor<T>
Data type to clone to
Cloned data object
Get the current absolute position of the object
OptionalreferenceSpace: TransformationSpace
Reference space to transform it to
Position of the data object
Get relative position of a specified object
Reference object identifier
Optionaltype: string
Constructor type of the relative position
Relative position to reference object
Get relative positions for a different target
OptionalreferenceObjectUID: string
Reference object identifier
Array of relative positions for the reference object
Check if the space is connected to another
Space to check if connected
connected or not
Check if a position lies within a symbolic location
Absolute position to check
Point inside boundaries
Transform perspective
Farthest left on the x-axis
Farthest right on the x-axis
Farthest down on the y-axis
Farthest up on the y-axis
Distance to the near clipping plane along the -Z axis
Distance to the far clipping plane along the -Z axis
Reference space instance
OptionalkZ: numberProtectedsetSet a parent object to the data object
Data object or UID to add as parent
instance
Set the current absolute position of the object
Position to set
OptionalreferenceSpace: TransformationSpace
Reference space
Data object instance
ProtectedsetSet the unique identifier of this object
Unique Identifier
Data object instance
Convert the symbolic space to GeoJSON
Optionalflat: boolean
Flat GeoJSON
GeoJSON
Convert the symbolic space to well-known text representation
WKT
OptionaldZ: numberUpdate parent reference spaces
Service to use for updating
Update promise
ProtectedupdateStaticfromCreate a reference space from another object
Reference space
StaticfromCreate a new symbolic space GeoJSON
GeoJSON
symbolic space instance
Staticfrom
A symbolic space can be used to indicate an abstract space with a boundary. It is an extended
ReferenceSpacewith boundaries.About
A symbolic space is a
ReferenceSpace, and is therefore not directly as a position. It indicates a symbolic space and provides several utilities. Both a hierarchical structure and graph connection can be used to connect symbolic spaces together.Usage
Creation
Creating a symbolic space requires a generic position type. This type indicates how the symbolic position should be interpreted.
Optionally, the space can be initialized with a display name.
Parent space
The parent space uses a wrapper for the
ReferenceSpace.parentUID.In addition, the parent is also treated as the base reference space.
Creating boundaries
Boundaries can be set of a symbolic space. Both 2D and 3D polygons are supported.
Positioning of boundaries is always relative to the parent (i.e. if the floor shifts position, you do not have to change the lobby boundaries).
Boundary utilities
Symbolic spaces provide several boundary utilities.
Checking if a position is inside a symbolic space
Centroid
The centroid is determined using the boundaries, this will be the position that is used.
AbsolutePositiontoSymbolicSpaceConverting an absolute position to a symbolic space does not provide a single result. Similar to geocoders, the results are sorted based on their probability.
For this, we make use of the [[SymbolicSpaceService]]. This service acts as the data store for symbolic spaces.
SymbolicSpacetoAbsolutePositionConverting a symbolic space to a position uses the centroid that is calculated from the boundaries.