An NDoc Documented Class Library

Minais.Drawing3d.Selection Namespace

Namespace hierarchy

Classes

Class Description
HitInfo HitInfo is the basic info object. Derived from that are the clsses HitItemList.drawLineInfo, HitItemList.drawPolyInfo, HitItemList.drawPolyPolyInfo, HitItemList.drawCurveInfo, HitItemList.drawPolyCurveInfo, HitItemList.drawPolyPolyCurveInfo, HitItemList.drawSurfaceInfo, HitItemList.drawPointInfo, HitItemList.drawTextInfo, HitItemList.drawImageInfo If you wish more informationa about a catched drawing, the you obtain this in the field Info In this field is a infoobject stored. It's depends on KindOfPrimitiv. So you can for example cast the field HitItem.Info to drawLineInfo, if KindOfPrimitiv equals HitItemList.Primitives.Line is.
HitItem
HitItemList The HitItemList is the container for HitItem. She is needed to point to a graphical object with a mousepointer for example. It may be, that many objects are laying on the place, where the mousepointer is. Evrey drawing, who is nearly to the point produces a Hititem-entry in the HitItemList.

The HitItemList will be refreshed when you call the Select-method with a Point as parameter. He indicates, where the mousepointer 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 catchresults.
3. Point before Lines before Planes.

HitItemList.drawCurveInfo drawCurveInfo is an instance of HitInfo. You can get it from Hititem.Info if the Hititem.KindOfPrimitiv equals HitItemList.Primitives.Curve In this case you can cast Hititem.Info by (drawCurveInfo)Hititem.Info;
HitItemList.drawImageInfo drawImageInfo is an instance of HitInfo. You can get it from Hititem.Info if the Hititem.KindOfPrimitiv equals HitItemList.Primitives.Bitmap In this case you can cast Hititem.Info by (drawImageInfo)Hititem.Info;
HitItemList.drawLineInfo drawLineInfo is an instance of HitInfo. You can get it from Hititem.Info if the Hititem.KindOfPrimitiv equals HitItemList.Primitives.Line In this case you can cast Hititem.Info by (drawLineInfo)Hititem.Info;
HitItemList.drawPointInfo drawPointInfo is an instance of HitInfo. You can get it from Hititem.Info if the Hititem.KindOfPrimitiv equals HitItemList.Primitives.Point In this case you can cast Hititem.Info by (drawPointInfo)Hititem.Info;
HitItemList.drawPolyCurveInfo drawPolyCurveInfo is an instance of HitInfo. You can get it from Hititem.Info if the Hititem.KindOfPrimitiv equals HitItemList.Primitives.PolyCurve In this case you can cast Hititem.Info by (drawPolyCurveInfo)Hititem.Info;
HitItemList.drawPolyInfo drawPolyInfo is an instance of HitInfo. You can get it from Hititem.Info if the Hititem.KindOfPrimitiv equals HitItemList.Primitives. PolyLine In this case you can cast Hititem.Info by (drawPolyInfo)Hititem.Info;
HitItemList.drawPolyPolyCurveInfo drawPolyPolyCurveInfo is an instance of HitInfo. You can get it from Hititem.Info if the Hititem.KindOfPrimitiv equals HitItemList.Primitives.PolyPolyCurve In this case you can cast Hititem.Info by (drawPolyPolyCurveInfo)Hititem.Info;
HitItemList.drawPolyPolyInfo drawPolyPolyInfo is an instance of HitInfo. You can get it from Hititem.Info if the Hititem.KindOfPrimitiv equals HitItemList.Primitives. PolyPolyLine In this case you can cast Hititem.Info by (drawPolyPolyInfo)Hititem.Info;
HitItemList.drawSurfaceInfo drawSurfaceInfo is an instance of HitInfo. You can get it from Hititem.Info if the Hititem.KindOfPrimitiv equals HitItemList.Primitives.Surface In this case you can cast Hititem.Info by (drawSurfaceInfo)Hititem.Info;
HitItemList.drawTextInfo drawTextInfo is an instance of HitInfo. You can get it from Hititem.Info if the Hititem.KindOfPrimitiv equals HitItemList.Primitives.Text In this case you can cast Hititem.Info by (drawTextInfo)Hititem.Info;

Enumerations

Enumeration Description
HitItemList.Primitives Enumerates the Primitives, who are supported by a device. It is the type of KindOfPrimitiv in HitItem