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
  • Optional pickedLabel?: boolean

    true if a label was picked, false otherwise.

  • Optional pickedSegment?: number

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

  • Optional pickedSurface?: boolean

    true if the surface was picked, false otherwise.

  • Optional pickedVertexIndex?: number

    The index of the picked vertex, otherwise null.