Enumerates the Primitives, who are supported by a device. It is the type of KindOfPrimitiv in HitItem
// code snippet HitItem h = Device.HititemList[0]; switch (h.KindOfPrimitiv) { case HitItemList.Primitives.Line:{drawLineInfo L = (drawLineInfo)h.Info; // this typecast works // now you have the LineInformations L.A, L.B, L.param return; } case HitItemList.Primitives.Surface:{drawSurfaceInfo S = (drawSurfaceInfo)h.Info; // this typecast works // now you have the SurfaceInformations // S.UIndex and S.VIndex return; } }
Member Name | Description |
---|---|
Line | Hit is invoked by the primitive drawLine |
PolyLine | Hit is invoked by the primitive drawPolyLine |
PolyPolyLine | Hit is invoked by the primitive drawPolyPolyLine |
Curve | Hit is invoked by the primitive drawCurve |
PolyCurve | Hit is invoked by the primitive drawPolyCurve |
PolyPolyCurve | Hit is invoked by the primitive drawPolyPolyCurve |
Point | Hit is invoked by the primitive drawPoint |
Text | Hit is invoked by the primitive drawText |
Bitmap | Hit is invoked by the primitive drawImage |
Surface | Hit is invoked by the primitive drawSurface |
Namespace: Minais.Drawing3d.Selection
Assembly: Drawing3d (in Drawing3d.dll)