HitItem
-
class
cee.usg.HitItem() An object describing the result of a picking action on an
UnstructGridModel.Returned by
UnstructGridModel.rayIntersect
Properties
-
cee.usg.HitItem.closestNodeId - closestNodeId: number
The id of the closest node in the element that was hit.
-
cee.usg.HitItem.closestNodeIndex - closestNodeIndex: number
The index of the closest node in the element that was hit
-
cee.usg.HitItem.closestNodePosition - closestNodePosition:
Vec3The position of the closest node in the element that was hit
-
cee.usg.HitItem.elementId - elementId: number
The id of the element that was hit.
-
cee.usg.HitItem.elementIndex - elementIndex: number
The index of the element that was hit
-
cee.usg.HitItem.elementNodeCount - elementNodeCount: number
The number of nodes in the element that was hit
-
cee.usg.HitItem.intersectionPoint - intersectionPoint:
Vec3The 3d point (in world coordinates) on the surface that was hit.
This is the actual point that was hit
-
cee.usg.HitItem.intersectionPointNormal - intersectionPointNormal:
Vec3The normal of the surface at the point where the surface was hit.
-
cee.usg.HitItem.partIndex - partIndex: number
The index of the part that was hit
-
cee.usg.HitItem.partName - partName: string
The name of the part that was hit
-
cee.usg.HitItem.stateIndex - stateIndex: number
The index of the state in which the geometry was hit