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

    Class CrossSectionOperations

    Index

    Constructors

    • Parameters

      • manifoldWorkerManager: ManifoldWorkerManager

      Returns CrossSectionOperations

    basic

    • Remove vertices from the contours in this CrossSection that are less than the specified distance epsilon from an imaginary line that passes through its two adjacent vertices. Near duplicate vertices and collinear points will be removed at lower epsilons, with elimination of line segments becoming increasingly aggressive with larger epsilons.

      It is recommended to apply this function following Offset, in order to clean up any spurious tiny line segments introduced that do not improve offseting operations are to be performed, which would compound the issue.

      Parameters

      Returns Promise<CrossSectionPointer>

      simplified cross section

      simplify

      true

    composition