Bitbybit Docs
    Preparing search index...

    Class OffsetDto<T> (Inputs.Manifold)

    A cross-section and the offset settings for crossSection.operations.offset.

    Type Parameters

    • T
    Index

    Constructors

    Properties

    crossSection: T

    The outline to offset.

    delta: number

    How far the outline moves, in model units: positive grows outer contours and shrinks holes, negative does the opposite.

    1
    

    -Infinity

    Infinity

    0.1

    How corners are treated: round, square, miter or bevel.

    round
    
    miterLimit: number

    For miter joins, how far a corner may reach as a multiple of delta before it is squared off; 2 is the smallest allowed.

    2
    

    2

    Infinity

    0.1

    circularSegments: number

    For round joins, how many segments a full circle of rounding gets.

    32
    

    0

    Infinity

    1