You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: bezier.md
+22-20Lines changed: 22 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,26 +6,28 @@ When the user calls the executable, he/she is at Path 1.
6
6
Each path consists of control points given as input by user, which are converted to an approximated smooth curve. The interpolation is done using nth-order Bezier-curve parameterization. The parameterization of the path is updated and rendered on screen at every input.
7
7
8
8
### Controls:
9
-
*##### Left-click -
10
-
Takes the location of left click by user as the input of control points.
11
-
*##### Right-click -
12
-
Stops the input of control points until 'R' is pressed.
13
-
*##### 'R' -
14
-
Resumes the input of control points.
15
-
*##### 'N' -
16
-
Moves to next path. Input of control stops until 'R' is pressed.
17
-
*##### 'P' -
18
-
Moves to previous path. Input of control stops until 'R' is pressed.
19
-
*##### 'D' -
20
-
Deletes the last control point in the current path.
21
-
*##### 'S' -
22
-
The control points and interpolated points are stored in two raw files, with extension '.min.raw' and '.raw' respectively in models/Bezier-Curve.
23
-
*##### 'L' -
24
-
The control points stored in the '.min.raw' are loaded and the paths are rendered with the screen displaying from Path 1.
25
-
To start editing the paths, the user must press 'R' to resume.
26
-
*##### 'ESC' -
27
-
The window is closed and all unsaved work is lost.
9
+
*#### Keyboard:
10
+
*##### 'R' -
11
+
Resumes the input of control points.
12
+
*##### 'N' -
13
+
Moves to next path. Input of control stops until 'R' is pressed.
14
+
*##### 'P' -
15
+
Moves to previous path. Input of control stops until 'R' is pressed.
16
+
*##### 'D' -
17
+
Deletes the last control point in the current path.
18
+
*##### 'S' -
19
+
The control points and interpolated points are stored in two raw files, with extension '.min.raw' and '.raw' respectively in models/Bezier-Curve.
20
+
*##### 'L' -
21
+
The control points stored in the '.min.raw' are loaded and the paths are rendered with the screen displaying from Path 1.
22
+
To start editing the paths, the user must press 'R' to resume.
23
+
*##### 'ESC' -
24
+
The window is closed and all unsaved work is lost.
25
+
*#### Mouse:
26
+
*##### Left-click -
27
+
Takes the location of left click by user as the input of control points.
28
+
*##### Right-click -
29
+
Stops the input of control points until 'R' is pressed.
28
30
29
31
### Code:
30
-
Source directory - /src/Bezier-Curve
32
+
Source directory - /src/Bezier-Curve
31
33
Include directory - /include/road-network/Bezier-Curve
0 commit comments