Bitbybit Docs
    Preparing search index...

    Class WiresBetweenSubdividedPointsOfWiresAndEdgesDto<T>

    Type Parameters

    • T
    Index

    Constructors

    Properties

    shapes: T[]

    Two or more wires or edges that will be subdivided and connected through the points at matching subdivision indexes

    undefined
    
    nrOfDivisions?: number

    Into how many segments each wire or edge should be subdivided. The number of resulting wires will be nrOfDivisions + 1.

    10
    

    1

    Infinity

    1

    divideByEqualDistance?: boolean

    If true, the subdivision points will be spaced by equal distance along each shape. By default the parametric subdivision is used, which is not always equal to distance based subdivisions.

    false
    

    Whether to connect the points with straight polyline segments or to interpolate a smooth BSpline through them

    polyline
    
    closed?: boolean

    Whether to close the resulting wires. For polyline wires this creates a polygon, for interpolated wires this creates a periodic (closed) BSpline.

    false
    
    tolerance?: number

    Tolerance used when interpolating the BSpline (only used when wireType is interpolated)

    1e-7
    

    0

    Infinity

    0.00001