Smooths a polygon formed by input points. Works with points of any dimension count, for example 2 for 2D points or 3 for 3D points.
Results are written to outTensor.
inTensor - Float32Array of size (point dimension count * point count). Points of polygon to smooth out
tensorShape - Should be {point dimension count, point count, 1}
step - Smoothing value, higher value meaning higher smoothness
outTensor - Float32Array of size (point dimension count * point count). Smoothed points are written to this array
Smooths a polygon formed by input points. Works with points of any dimension count, for example
2for 2D points or3for 3D points. Results are written tooutTensor.inTensor- Float32Array of size (point dimension count * point count). Points of polygon to smooth outtensorShape- Should be {point dimension count, point count, 1}step- Smoothing value, higher value meaning higher smoothnessoutTensor- Float32Array of size (point dimension count * point count). Smoothed points are written to this array