Sign in to follow this  

How do I rotate a line segment in a specific point on the line?

Recommended Posts

If I have two points A and B, which AB is a line segment, how can I rotate the AB in another Point C which is a point on the line AB.

Thank you in advance.

Share this post


Link to post
Share on other sites

1) Offset the line segment so that the center is at C.

2) Rotate.

3) Offset back by reverse of the offset from 1).

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this