Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • T

Hierarchy

  • CalculateNormalsDto

Index

Constructors

Properties

Constructors

constructor

  • new CalculateNormalsDto<T>(manifold?: T, normalIdx?: number, minSharpAngle?: number): CalculateNormalsDto<T>
  • Type parameters

    • T

    Parameters

    • Optional manifold: T
    • Optional normalIdx: number
    • Optional minSharpAngle: number

    Returns CalculateNormalsDto<T>

Properties

manifold

manifold: T

Manifold shape

minSharpAngle

minSharpAngle: number

Any edges with angles greater than this value will remain sharp, getting different normal vector properties on each side of the edge. By default, no edges are sharp and all normals are shared. With a value of zero, the model is faceted and all normals match their triangle normals, but in this case it would be better not to calculate normals at all. The value is in degrees.

default

0

minimum

0

maximum

Infinity

step

1

normalIdx

normalIdx: number

The property channel in which to store the X values of the normals. The X, Y, and Z channels will be sequential. The property set will be automatically expanded to include up through normalIdx

default

0

minimum

0

maximum

Infinity

step

1

Generated using TypeDoc