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