Bitbybit Docs
    Preparing search index...

    Class SelectInBoxDto<T> (Inputs.OCCT)

    A shape and two opposite corners of a box for select.faces.inBox and select.edges.inBox.

    Type Parameters

    • T
    Index

    Constructors

    • Type Parameters

      • T

      Parameters

      • Optionalshape: T
      • Optionalcorner: Point3
      • OptionaloppositeCorner: Point3
      • Optionalindexes: number[]

      Returns SelectInBoxDto<T>

    Properties

    shape: T

    The shape whose faces or edges are chosen from.

    undefined
    
    corner?: Point3

    One corner of the box, which lines up with the axes.

    [0, 0, 0]
    
    oppositeCorner?: Point3

    The corner across from corner; the two may be given either way round.

    [1, 1, 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