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.

Returns - LineString3d

Defined in

Last Updated: 13 June, 2024