When creating features, some features are created according to
the amount of the movement in the gestures, such as protrusion
extrude, cut extrude, and datum plane features. When entering the
feature mode, these functions also change the current view to the
side view according to the selected reference. Then, (x
current − x1) is considered to be the distance factor of the features. To reduce the number of errors, y coordinates are ignored, and the current result of the feature is shown on the screen during the onMove phase. On
the other hand, the sweep feature is independent of the moving
distance of gestures. Accordingly, if x2 − x1> σ after an onRelease
event occurs, the system creates a sweep feature. In addition, σ is a user-defined factor.