cee::vis::MarkupModelHitItemCollection
-
class
MarkupModelHitItemCollection
A collection of MarkupModelHitItem objects.
See also
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
-