TCI 1.1 RTF Avatar
  1. OMG Issue

TCI11 — Modify the comments in ContainQuery

  • Key: TCI11-25
  • Legacy Issue Number: 17007
  • Status: open  
  • Source: SimVentions ( Mr. Matthew Wilson)
  • Summary:

    The comments of this class reference state this:

    Containment is determined by using the Entity's Geometry as an argument to the contains() method on the Geometry specified by this Query, i.e., this.satisfies( entity ) = this.getGeometry().contains( entity.getGeometry() )

    This is not possible, however. The entity class has no “Geometry” in its interface. If it were present, the Geometry interface does not provide enough information to evaluate such a query.

    Suggested Resolution:
    Change the comment to a more general description of the problem space. For example: Containment is determined by checking whether or not one entity is wholly contained within another entity.

    AGREED

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