# cee::ug::HitItemCollection

class `HitItemCollection`

  A collection of HitItem instances.

  See also

  HitItem and UnstructGridModel

  Public Functions

  `HitItemCollection`()

    Constructs an empty hititem collection.

  `HitItemCollection`(const HitItemCollection &other)

    Constructs a hititem collection as a copy of other.

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

    Returns true if this equals other.

  size_t `count`() const

    Returns the number of items in the collection.

  HitItem `item`(size_t index) const

    Returns the HitItem at the given index.

  void `add`(const HitItem &item)

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

  HitItemCollection `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...