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

    Class BasicShapeRepairDto<T>

    Type Parameters

    • T
    Index

    Constructors

    • Type Parameters

      • T

      Parameters

      • Optionalshape: T
      • Optionalprecision: number
      • OptionalmaxTolerance: number
      • OptionalminTolerance: number

      Returns BasicShapeRepairDto<T>

    Properties

    shape: T

    Shape to repair

    undefined
    
    precision: number

    Basic precision

    0.001
    

    0

    Infinity

    0.0000000001

    maxTolerance: number

    maximum allowed tolerance. All problems will be detected for cases when a dimension of invalidity is larger than the basic precision or a tolerance of sub-shape on that problem is detected. The maximum tolerance value limits the increasing tolerance for fixing a problem such as fix of not connected and self-intersected wires. If a value larger than the maximum allowed tolerance is necessary for correcting a detected problem the problem can not be fixed. The maximal tolerance is not taking into account during computation of tolerance of edges

    0.01
    

    0

    Infinity

    0.0000000001

    minTolerance: number

    minimal allowed tolerance. It defines the minimal allowed length of edges. Detected edges having length less than the specified minimal tolerance will be removed.

    0.0001
    

    0

    Infinity

    0.0000000001