TCI 1.1 RTF Avatar
  1. OMG Issue

TCI11 — Add method to Entity interface to “getReferencePoint

  • Key: TCI11-30
  • Legacy Issue Number: 17008
  • Status: open  
  • Source: SimVentions ( Matthew Wilson)
  • Summary:

    There is no way to get even a general understanding about where an Entity exists at a general interface level.

    Suggested Resolution:
    Define a new method in the entity interface:

    GeodeticPosition getReferencePoint();

    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.

    AGREED

  • Reported: TCI 1.0b2 — Thu, 19 Jan 2012 05:00 GMT
  • Updated: Wed, 1 Feb 2023 21:57 GMT