Polyline2d

Public Class

Table of Contents
Signature
class Polyline2d extends BaseSpline2d<LineSegment2dModel> {}
References

BaseSpline2d, LineSegment2dModel


Constructor

Public Constructor

Constructs a new instance of the Polyline2d class

Parameters
NameDescription

points

VecLike[]

k

(optional)

number

p

(optional)

number
References

VecLike


Properties

segments

Public Property

Signature
segments: LineSegment2d[]
References

LineSegment2d


Methods

FromPoints()

Public Static Method

Parameters
NameDescription

points

VecLike[]
Returns
Polyline2d
References

VecLike, Polyline2d


getSegmentsFromPoints()

Public Method

Parameters
NameDescription

points

VecLike[]

p

(optional)

number
Returns
LineSegment2d[]
References

VecLike, LineSegment2d


Edit this page
Last edited on 11 May 2023
polygonsIntersectradiansToDegrees