weldx.LineSegment.rasterize

LineSegment.rasterize(raster_width)

Create an array of points that describe the segments contour.

The effective raster width may vary from the specified one, since the algorithm enforces constant distances between two raster points.

Parameters

raster_width (Quantity) – The desired distance between two raster points

Returns

Array of contour points

Return type

pint.Quantity