createForStrokes MethodStatic

  • options.needParams triggers creation of fraction array and uvParams array.
  • options.needNormals triggers creation of derivatives array

createForStrokes(capacity: number = 0, options: StrokeOptions | undefined): LineString3d

Parameter Type Description
capacity number if positive, initial capacity of arrays
options StrokeOptions | undefined optional, to indicate if fraction and derivative arrays are required.

Defined in

Last Updated: 08 January, 2020