This sample demonstrates how to morph a curve by Segment/Control point/Curve point/Global smooth.
Curve morphing by Segment:
Click 'Menu->Geometry->Curve->Morphing curve' , Curve morphing dialog will show. Choose the option 'Segment' and pick a point on a curve, the picked point is tagged by 'S' (start point).
original curve and the first picked point
Pick another point on the curve, the point is tagged by 'E' (end point).
the second picked point
Pick a point on the curve , this point is between start point and end point. The segment between start point and end point is morphed by an initial distance..
morphing point
Input new morphing direction vector (dx, dy, dz) in the textfield under 'Morphing direction(dx,dy,dz)', you can change the morphing direction. Click left mouse button and move mouse, the segment is morphed to a new position.
morphed segment
Click button 'Apply' to accept the morphed curve.
final curve
Curve morphing by Control point:
Click 'Menu->Geometry->Curve->Morphing curve' , Curve morphing dialog will show. Choose the option 'Control Point' and Select a curve, the control points of the curve is displayed.
original curve and control points
Click left mouse button to pick a control point and move the control point to a new position, a temporary morphing curve is generated.
move a control point to morph the curve
Release the left mouse button, the original curve is morphed to the new position.
morphed curve and control points
Curve morphing by Curve point:
Click 'Menu->Geometry->Curve->Morphing curve' , Curve morphing dialog will show. Choose the option 'Curve Point' and Select a curve, the curve points of the curve is displayed.
original curve and curve points
Click left mouse button to pick a curve point and move the curve point to a new position, a temporary morphing curve is generated.
move a curve point to morph the curve
Release the left mouse button, the original curve is morphed to the new position.
morphed curve
Curve morphing by Global:
Click 'Menu->Geometry->Curve->Morphing curve' , Curve morphing dialog will show. Choose the option 'Global' and Select a curve, the curve is smooth by a default smoothness factor, a temporary curve is displayed.
original curve and curve points
Adjust smooth bar to or input new smoothness factor to create new smoothed curve. Here we input a new smoothness facto 0.001 create a new curve shown in the following picture.
move a curve point to morph the curve
Click button 'Apply'. to accept the smoothed curve.
morphed curve