Bitbybit Docs
    Preparing search index...

    Class StretchPointsDirFromCenterDto (Inputs.Point)

    Points, a center, a direction and a factor for point.stretchPointsDirFromCenter, which scales only along that direction.

    Index

    Constructors

    Properties

    Constructors

    Properties

    points: Point3[]

    The points to stretch; they are not changed and the result keeps their order.

    undefined
    
    center?: Point3

    The point that stays in place; distances are measured from it.

    [0, 0, 0]
    
    direction?: Vector3

    The direction to stretch along; distances across it do not change.

    [0, 0, 1]
    
    scale?: number

    The factor applied along the direction; 1 leaves the points as they are, 2 doubles their distance from the center along it.

    2
    

    -Infinity

    Infinity

    0.1