Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • T

Hierarchy

  • ManifoldSmoothOutDto

Index

Constructors

constructor

  • new ManifoldSmoothOutDto<T>(manifold?: T, minSharpAngle?: number, minSmoothness?: number): ManifoldSmoothOutDto<T>
  • Type parameters

    • T

    Parameters

    • Optional manifold: T
    • Optional minSharpAngle: number
    • Optional minSmoothness: number

    Returns ManifoldSmoothOutDto<T>

Properties

manifold

manifold: T

Manifold shape

minSharpAngle

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.

default

60

minimum

-Infinity

maximum

Infinity

step

1

minSmoothness

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.

default

0

minimum

0

maximum

1

step

0.1

Generated using TypeDoc