HitItem

class cee.usg.HitItem()

An object describing the result of a picking action on a UnstructGridModel

Returned by UnstructGridModel.rayIntersect


Properties

cee.usg.HitItem.closestNodeId

The id of the closest node in the element that was hit

cee.usg.HitItem.closestNodeIndex

The index of the closest node in the element that was hit

cee.usg.HitItem.elementId

The id of the element that was hit

cee.usg.HitItem.elementIndex

The index of the element that was hit

cee.usg.HitItem.elementNodeCount

The number of nodes in the element that was hit

cee.usg.HitItem.intersectionPoint

The 3d point (in world coordinates) on the surface that was hit.

This is the actual point that was hit

cee.usg.HitItem.intersectionPointNormal

The normal of the surface at the point where the surface was hit.

cee.usg.HitItem.partIndex

The index of the part that was hit

cee.usg.HitItem.partName

The name of the part that was hit

cee.usg.HitItem.stateIndex

The index of the state in which the geometry was hit