Options
All
  • Public
  • Public/Protected
  • All
Menu

Class HitItem

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

Returned by UnstructGridModel.rayIntersect

Hierarchy

  • HitItem

Index

Properties

closestNodeId

closestNodeId: number

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

closestNodeIndex

closestNodeIndex: number

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

elementId

elementId: number

The id of the element that was hit

elementIndex

elementIndex: number

The index of the element that was hit

elementNodeCount

elementNodeCount: number

The number of nodes in the element that was hit

intersectionPoint

intersectionPoint: Vec3

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

This is the actual point that was hit

intersectionPointNormal

intersectionPointNormal: Vec3

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

partIndex

partIndex: number

The index of the part that was hit

partName

partName: string

The name of the part that was hit

stateIndex

stateIndex: number

The index of the state in which the geometry was hit

Generated using TypeDoc