manifold-3d
    Preparing search index...

    Module lib/level-of-detail

    Functions

    cleanup

    Global Settings

    getCircularSegments

    Determine the result of the setMinCircularAngle, setMinCircularEdgeLength, and setCircularSegments defaults.

    getMinCircularAngle

    Get the current angle constraint.

    getMinCircularEdgeLength

    Get the current edge length constraint.

    resetToCircularDefaults

    Reset the circular construction parameters to their defaults if setMinCircularAngle, setMinCircularEdgeLength, or setCircularSegments have been called.

    setCircularSegments

    Set the default number of segments in a circle. Overrides the edge length and angle constraints and sets the number of segments to exactly this value.

    setMinCircularAngle

    Set an angle constraint when calculating the number of segments in a circle. The number of segments will be rounded up to the nearest factor of four.

    setMinCircularEdgeLength

    Set a length constraint when calculating the number segments in a circle. The number of segments will be rounded up to the nearest factor of four.