Legacy Issue Number: 17008
Source: SimVentions ( Matthew Wilson)
There is no way to get even a general understanding about where an Entity exists at a general interface level.
Define a new method in the entity interface:
This is logically consistent across any entity type. An entity could still consist of multiple points (e.g., isPointEntity() would return false), and still return a center point. This keeps the conceptual integrity of the entity interface, but expands its utility.
One such concrete example of the utility: Creating a user interface component for scaling a Viewport to a set of points. The most common use case is for those points to be entity positions. The QueryManager can be used to retrieve a list of entities, but from that point on you have to dive into implementation specific details to convert the Entities to a position to choose from.
Reported: TCI 1.0b2 — Thu, 19 Jan 2012 05:00 GMT
Updated: Wed, 1 Feb 2023 21:57 GMT