bitbybit.dev v1.0.0-rc.1
    Preparing search index...

    Class DxfPolylineSegmentDto

    Polyline segment defined by multiple points Can include bulge values to create arc segments between vertices

    Index

    Constructors

    Properties

    Constructors

    • Parameters

      • Optionalpoints: Point2[]
      • Optionalclosed: boolean
      • Optionalbulges: number[]

      Returns DxfPolylineSegmentDto

    Properties

    points: Point2[]

    Points defining the polyline vertices

    undefined
    
    closed?: boolean

    Whether the polyline is closed

    false
    
    bulges?: number[]

    Bulge values for each vertex (optional) Bulge = tan(angle/4) where angle is the arc angle in radians Positive = counterclockwise, Negative = clockwise 0 = straight line segment Array length should match points length (or be undefined for all straight segments)

    undefined