# cee::vis::MarkupModelHitItemCollection

class `MarkupModelHitItemCollection`

  A collection of MarkupModelHitItem objects.

  See also

  MarkupModelHitItem and MarkupModel

  Public Functions

  `MarkupModelHitItemCollection`()

    Constructs a hit item collection.

  `MarkupModelHitItemCollection`(const MarkupModelHitItemCollection &other)

    Constructs a hit item collection as a copy of other.

  MarkupModelHitItemCollection &`operator=`(const MarkupModelHitItemCollection &other)

    Sets this object to a copy of other.

  size_t `count`() const

    Returns the number of items in the collection.

  MarkupModelHitItem `item`(size_t index) const

    Returns the HitItem at the given index.

  void `add`(const MarkupModelHitItem &item)

    Adds the given HitItem to the collection and returns the new number of items.

  MarkupModelHitItemCollection `firstItems`(double equalItemThreshold) const

    Returns all the HitItem instance that are at minimal distance.

    Two items are considered equal when their distance differs by no more than the given equalItemThreshold

Conversation saved
HOOPSY BETA

### Hello! I'm HOOPSY

Your Docs generative AI assistant. Ask me anything about HOOPS Envision for Desktop or choose a sample question below to start a conversation:

What is HOOPS Envision for Desktop?
What are the latest release notes for HOOPS Envision for Desktop?
How do I start evaluating HOOPS Envision for Desktop?
How do I write my first sample application?
How can I get assistance?

HOOPSY may store conversations according to OpenAI's policy. Responses may not always be accurate.

HOOPSY is thinking...