Bitbybit Docs
    Preparing search index...

    Class RemoveConsecutiveDuplicatesDto (Inputs.Point)

    Points to filter with point.removeConsecutiveDuplicates, and how close two points must be to count as the same.

    Index

    Constructors

    Properties

    points: Point3[]

    The points to filter; their order is kept.

    undefined
    
    tolerance?: number

    Two points count as the same when every coordinate differs by less than this.

    1e-7
    

    0

    Infinity

    1e-7

    checkFirstAndLast: boolean

    When true, a last point that repeats the first is dropped as well, which closes a loop cleanly.