0
$\begingroup$

enter image description here

I would like to like to be able to find the point p3 given point p1 and p2. The length between point p1 and p2 is set to L and the length between point p2 and p3 is set to L. The angle between point p1, p2 and p3 is set to theta. I'm pretty sure the dot product will play a roll but I'm not sure how. Any help would be great. Thanks

EDIT p0 should be p1. This is a 3D problem and I know I'm basically looking for points on a circle. I think I need to figure out how to define the circle such that it is perpendicular to the vector p1-p2 but I'm not really sure how to do that. I will be using this to generate polymer chains with constrained bond angles.

  • 1
    When you use p0 in the diagram, I assume you mean p1. The next difficulty is when you say $p=(x,y,z)$, suggesting three dimensions: in 3-D, there is a whole circle of points at distance $L$ which make an angle $\theta$ at $p_2$ with the line from $p_1$ to $p_2$2011-03-16
  • 1
    If you mean for these points to be in 3 dimensions, then $p_3$ is not determined uniquely - any rotation it about the axis formed by $p_1$ and $p_2$ would work as well. Also, you have the label "$p_0$" in your picture, not $p_1$.2011-03-16

2 Answers 2