HitItem Constructor | Initializes a new instance of the HitItem class. |
Direction | If DirectionEnabled equals true then Direction is valid and gives the direction of a catched line |
DirectionEnabled | The property Direction is not ever valid. DirectionEnabled equals true indicates, that the property Direction is valid. For example: If there is a hit to the inside of a PolyLine no Direction is enabled. on the other side, if the hit is on the contur of the polyLine then a direction is given by the catched line. |
Entity | The Entity, in which the primitive draw is called |
Info | This field reports additional info about the catched primitive draw. To access the data you have to typecast the property info with one of the infotypes HitInfo. This depends on the KindOfPrimitiv. |
Normal | If PlaneEnabled then Normal returns a normal vector to the catched plane. |
PlaneEnabled | The property Normal is not allways valid. For example if you click on a simple line then no normalvector to a plane is valid. If PlaneEnabled = true then the vector Normal retrieves a normalvector to a planem which is catched. |
PointEnabled | This property is true if you catch a point. May by, that PlaneEnabled is also true: in this case the point belongs for example to a polyline which defines a plane. |
hitItemList | This is the container, in which the HitIten is embedded. |
IndexInPrimitiv | ????????????????????????? |
KindOfPrimitiv | KindOfPrimitiv indicates, what primitive drawing is catched. Possible are : Line, PolyLine, PolyPolyLine, Curve, PolyCurve, PolyPolyCurve, Point, Text, Bitmap, Surface. They determes wheter kind of class Info is. |
PolygonMode | Retrieves the PolygonMode of the device for a catched object. |
PrimCount | If you have in a drawmethod more primitivecalls then PrimCount indicates whhat of this calls is catched. For example: Your Drawmethod look like this: ... device.drawLine(new xyz(0,1,0), new xyz(2, 2, 2)); device.drawPolyLine(xyzarray); ... if the PolyLine is catched then you retrieves a PrimCount of 1. |
Tag | This field is for free use. It willbe set by the method pushTag |
WorldPoint | Gives the coordinates in worldcoordinates. |
ZOrder | Gives the Zorder of an element, this means the distance to the Eye |
Equals (inherited from Object) | |
GetHashCode (inherited from Object) | |
GetType (inherited from Object) | |
ToString (inherited from Object) |
Finalize (inherited from Object) | |
MemberwiseClone (inherited from Object) |