Drawing3d documented Class Library

HitItemList Class

The HitItemList is the container for HitItem. It is needed to point a graphical object with a cursor for example. It may be that objects are located at the place, where the cursor is. Every drawing that is close to the point produces a Hititem-entry in the HitItemList.

The HitItemList will be renewed, if you call the Select-method with a Point as parameter. It indicates, where the cursor is located. To every Hititem belongs a primitive drawmethod, who is "near" to that point. This means, the distance of the drawing to the point is smaller than CatchDistance. A Hititem holds a lot of information about the primitive drawing, see Info and HitItem
The entries in the HitItmList are sorted by the following priorities:
1. Distance to the Eye, also called z-Order
2. Keep-old-current : the "oldcurrent" has priority. This avoid a flickering of the catch results.
3. Point before Lines before Planes.

For a list of all members of this type, see HitItemList Members .


[Visual Basic]
<Serializable> _
<DefaultMember(MemberName:="Item")> _
<DebuggerTypeProxy(ProxyTypeName:="System.Collections.ArrayList+ArrayListDebugView, mscorlib, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089", Target:=null, TargetTypeName:="null")> _
<DebuggerDisplay(Value:="Count = {Count}", Target:=null, TargetTypeName:="null")> _
Public Class HitItemList
    Inherits ArrayList
[DebuggerTypeProxy(ProxyTypeName="System.Collections.ArrayList+ArrayListDebugView, mscorlib, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089", Target=null, TargetTypeName="null")]
[DebuggerDisplay(Value="Count = {Count}", Target=null, TargetTypeName="null")]
public class HitItemList : ArrayList

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.


Namespace: Drawing3d

Assembly: Drawing3d (in Drawing3d.dll)

See Also

HitItemList Members | Drawing3d Namespace