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

    Class ManifoldSmoothOutDto<T>

    Type Parameters

    • T
    Index

    Constructors

    • Type Parameters

      • T

      Parameters

      • Optionalmanifold: T
      • OptionalminSharpAngle: number
      • OptionalminSmoothness: number

      Returns ManifoldSmoothOutDto<T>

    Properties

    manifold: T

    Manifold shape

    minSharpAngle: number

    Any edges with angles greater than this value will remain sharp. The rest will be smoothed to G1 continuity, with the caveat that flat faces of three or more triangles will always remain flat. With a value of zero, the model is faceted, but in this case there is no point in smoothing.

    60
    

    -Infinity

    Infinity

    1

    minSmoothness: number

    The smoothness applied to sharp angles. The default gives a hard edge, while values > 0 will give a small fillet on these sharp edges. A value of 1 is equivalent to a minSharpAngle of 180 - all edges will be smooth.

    0
    

    0

    1

    0.1