ShapePickResult: PickResult & {
    entity: entities.Shape;
    isShapePickResult: true;
    pickedLabel?: boolean;
    pickedSegment?: number;
    pickedSurface?: boolean;
    pickedVertexIndex?: number;
}

The picking result for shapes.

Type declaration

  • entity: entities.Shape
  • isShapePickResult: true
  • OptionalpickedLabel?: boolean

    true if a label was picked, false otherwise.

  • OptionalpickedSegment?: number

    The index of the first point that makes the picked segment, otherwise null.

  • OptionalpickedSurface?: boolean

    true if the surface was picked, false otherwise.

  • OptionalpickedVertexIndex?: number

    The index of the picked vertex, otherwise null.