Bitbybit Docs
    Preparing search index...

    Class SelectNearestDto<T> (Inputs.OCCT)

    A shape, a point and a count for select.faces.nearest and select.edges.nearest.

    Type Parameters

    • T
    Index

    Constructors

    Properties

    Constructors

    • Type Parameters

      • T

      Parameters

      • Optionalshape: T
      • Optionalpoint: Point3
      • Optionalcount: number
      • Optionalindexes: number[]

      Returns SelectNearestDto<T>

    Properties

    shape: T

    The shape whose faces or edges are chosen from.

    undefined
    
    point?: Point3

    The point the chosen faces or edges lie nearest.

    [0, 0, 0]
    
    count?: number

    How many to choose, nearest first; Infinity orders them all.

    1
    

    1

    Infinity

    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