Bitbybit Docs
    Preparing search index...

    Class SelectExtremeDto<T> (Inputs.OCCT)

    A shape, a direction and a tolerance for select.faces.extreme and select.edges.extreme.

    Type Parameters

    • T
    Index

    Constructors

    • Type Parameters

      • T

      Parameters

      • Optionalshape: T
      • Optionaldirection: Vector3
      • Optionaltolerance: number
      • Optionalindexes: number[]

      Returns SelectExtremeDto<T>

    Properties

    shape: T

    The shape whose faces or edges are chosen from.

    undefined
    
    direction?: Vector3

    The direction to look furthest along; [0, 0, -1] finds the lowest.

    [0, 0, 1]
    
    tolerance?: number

    How far short of the furthest centre another may lie and still be chosen, in model units.

    1e-7
    

    0

    Infinity

    0.1

    indexes?: number[]

    The faces or edges to choose among, counted from 0 as the getters list them; left out, all are candidates, and an empty list chooses none.

    undefined
    

    true