bitbybit.dev v1.0.0-rc.1
    Preparing search index...

    Class MeshMeshesIntersectionOfShapesDto<T>

    Type Parameters

    • T
    Index

    Constructors

    • Type Parameters

      • T

      Parameters

      • Optionalshape: T
      • Optionalshapes: T[]
      • Optionalprecision: number
      • OptionalprecisionShapes: number[]

      Returns MeshMeshesIntersectionOfShapesDto<T>

    Properties

    shape?: T

    Shape to use for the base of computations

    undefined
    
    precision?: number

    Precision of first shape to be used for meshing and computing intersection. Keep in mind that the lower this value is, the more triangles will be produced and thus the slower the computation.

    0.01
    

    0

    Infinity

    0.01

    shapes?: T[]

    Second shape to be used for intersection

    undefined
    
    precisionShapes?: number[]

    Precision of shapes to be used, if undefined, a universal precision will be used of the first shape

    undefined
    

    true