CG – Task1 (Solution)

$ 24.99
Category:

Description

Input: 3 mouse clicks
1- 2 left clicks, one as a center of the first circle and other for the second circle center.
2- The right click is a click between two circles which will be used to calculate the radius of the first and second circle.
3- Student has authority to choose any quarter in any circle and fill it with lines considering circle center as the starting point and circle eight point as the ending point of line output:
1- Two circles have different radius and centers
2- Two circle touch each other in one point, to make this point you must firstly enter the center of two circles and the third click must be between first and second center 3- Choose only one quarter to fill with lines of any circle Hint:
– Use any line or circle algorithm
– Please enter clicks with the same order in output part [point 2] to build the below shape

Task 2

Input:
two clicks You will take two mouse clicks:
1- The left click to control circle center
2- Right click will be a point on circle which will be used to calculate radius.
Output
– Draw the below shape
Hint
– Draw the below shape, students can use any circle algorithm to draw circle and any line algorithm to draw line
– Drawing line when you fetch the end point on circle algorithm

Task 3:
Input: 2 clicks
1- Left click to control circle center
2- Right click to control circle radius
Output:
Filling circle with lines considering circle center as a line starting point and every point on a circle as a line ending point.

Task 4
Input: Three mouse clicks
1- The first click as a center of two circle
2- The second is a point on the first circle
3- The third is a point on the second circle Output:
1- Two circles use the same center but with different radius
2- Filling the area between the two circles with other circles
3- Drawing a line from the center to the input point on circle 1
4- Drawing a line from the center to the input point on circle 2 Notes:.
You have authority to use any clicks options Ex.Wm_LBUTTONUP,WM_RBUTTONUP

Task 5

input: three clicks
1- First one is a center of two circles 2- Second one is a point on first circle
3- Third one is a point on second circle.
Output:
5- Two circles use the same center but with different radius
6- Filling the area between the two circles with other circles
7- Remove the first quarter during drawing circles

Reviews

There are no reviews yet.

Be the first to review “CG – Task1 (Solution)”

Your email address will not be published. Required fields are marked *