map
Transforms the segments of the current Path3D by applying a given mapping function, and optionally adjusts the connections between the segments to maintain continuity.
Return
A new Path3D instance with its segments transformed by the provided mapping function.
Parameters
closed
Specifies whether the resulting Path3D should be closed or open. Defaults to the current Path3D's closed state.
mapper
A lambda function that applies a transformation to each segment of the Path3D.