addMappedStrokesToLineString3D Method

evaluate strokes at fractions indicated in a StrokeCountMap.

  • The map must have an array of component counts corresponding to the segment of this linestring.
  • "fractions" in the output are mapped within a0,a1 of the map.componentData

addMappedStrokesToLineString3D(map: StrokeCountMap, destLinestring: LineString3d): number

Parameter Type Description
map StrokeCountMap = stroke count data.
destLinestring LineString3d = receiver linestring.

Returns - number

number of strokes added. 0 if map.componentData does not match the linestring

Defined in

Last Updated: 12 June, 2024