Bitbybit Docs
    Preparing search index...

    Class SelectByDirectionDto<T> (Inputs.OCCT)

    A shape, a direction and an angle for select.faces.facing and select.edges.along.

    Type Parameters

    • T
    Index

    Constructors

    Properties

    Constructors

    • Type Parameters

      • T

      Parameters

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

      Returns SelectByDirectionDto<T>

    Properties

    shape: T

    The shape whose faces or edges are chosen from.

    undefined
    
    direction?: Vector3

    The direction a face should face, or a straight edge run along; only its direction matters.

    [0, 0, 1]
    
    angle?: number

    How far in degrees a face's normal, or an edge's line, may turn from direction.

    0
    

    0

    180

    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