Bitbybit Docs
    Preparing search index...

    Class ClashesBetweenShapesDto<T> (Inputs.OCCT)

    Shapes and a clearance for analysis.clashes.betweenShapes, which finds the pairs of shapes that overlap or come within the clearance of each other.

    Type Parameters

    • T
    Index

    Constructors

    Properties

    Constructors

    • Type Parameters

      • T

      Parameters

      • Optionalshapes: T[]
      • Optionalclearance: number
      • Optionalprefilter: boolean

      Returns ClashesBetweenShapesDto<T>

    Properties

    shapes: T[]

    The shapes to check against each other; a clash names two of them by their positions here.

    undefined
    
    clearance?: number

    How close two shapes may come before they clash, in model units; 0 reports only shapes that touch or overlap.

    0
    

    0

    Infinity

    0.1

    prefilter?: boolean

    Whether pairs whose boxes or meshes stay clear by more than the clearance are ruled out before the rest are measured exactly, with the same clashes; false measures every pair.

    true