Options
All
  • Public
  • Public/Protected
  • All
Menu

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

Hierarchy

  • DxfPolylineSegmentDto

Index

Constructors

Properties

Constructors

constructor

  • Parameters

    • Optional points: Point2[]
    • Optional closed: boolean
    • Optional bulges: number[]

    Returns DxfPolylineSegmentDto

Properties

Optional bulges

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)

default

undefined

Optional closed

closed: boolean

Whether the polyline is closed

default

false

points

points: Point2[]

Points defining the polyline vertices

default

undefined

Generated using TypeDoc