Construct two lines with specific angle in between
09-10-2019, 11:27 AM
Post: #2
 roadrunner Senior Member Posts: 438 Joined: Jun 2015
RE: Construct two lines with specific angle in between
Here is how I did it:

"GA:= point(-4.,−4.2); // c(FF000000) v(1) \nGB:= point(7.,3.3); // c(FF000000) v(1) \nGD:= circle(GA,GB-GA); // c(FF000000) v(1) \nGE:= element(GD,0); // c(FF000000) v(1) a(t(1) s(3) p(3) b(0) e(6.2832) S(0.2)) \nGG:= line(GA,GE); // c(FF000000) v(1) \nGH:= element(GD,20/180*π); // c(FF000000) v(1) a(t(1) s(3) p(3) b(0) e(6.2832) S(0.2)) \nGI:= line(GA,GH); // c(FF000000) v(1) \n"▶Instruction

angle(GA,GE,GH)

Perhaps someone else can come up with a more direct way to do it.

-road
 « Next Oldest | Next Newest »

 Messages In This Thread Construct two lines with specific angle in between - teerasak - 09-10-2019, 05:06 AM RE: Construct two lines with specific angle in between - roadrunner - 09-10-2019 11:27 AM RE: Construct two lines with specific angle in between - Albert Chan - 09-10-2019, 03:01 PM

User(s) browsing this thread: 1 Guest(s)