Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • T

Hierarchy

  • BasicShapeRepairDto

Index

Constructors

constructor

  • new BasicShapeRepairDto<T>(shape?: T, precision?: number, maxTolerance?: number, minTolerance?: number): BasicShapeRepairDto<T>
  • Type parameters

    • T

    Parameters

    • Optional shape: T
    • Optional precision: number
    • Optional maxTolerance: number
    • Optional minTolerance: number

    Returns BasicShapeRepairDto<T>

Properties

maxTolerance

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

default

0.01

minimum

0

maximum

Infinity

step

0.0000000001

minTolerance

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.

default

0.0001

minimum

0

maximum

Infinity

step

0.0000000001

precision

precision: number

Basic precision

default

0.001

minimum

0

maximum

Infinity

step

0.0000000001

shape

shape: T

Shape to repair

default

undefined

Generated using TypeDoc