Skip to main content

setMinCircularAngle

manifold-3d


manifold-3d / manifold-encapsulated-types / setMinCircularAngle

Function: setMinCircularAngle()

setMinCircularAngle(angle): void

Defined in: manifold-3d/manifold-encapsulated-types.d.ts:49

Sets an angle constraint the default number of circular segments for the CrossSection.circle, Manifold.cylinder, Manifold.sphere, and Manifold.revolve constructors. The number of segments will be rounded up to the nearest factor of four.

Parameters

angle

number

The minimum angle in degrees between consecutive segments. The angle will increase if the the segments hit the minimum edge length. Default is 10 degrees.

Returns

void