
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am trying to take an XYZ point and rotate it 1Pi (180 degrees) around another base point. I think I got the correct method but I cannot figure out how to use it. See image attached
Base point = XYZ Origin? Is the base point considered the origin? I think so...
How do I define the AXIS using an XYZ? Does anyone have an image to explain this? I couldn't find any documentation. I want to rotate the point along the XY plane (in plan orientation).
The angle is in Radians, I got that one.
Transform transf = Transform.CreateRotationAtPoint(new XYZ(Origin.X,Origin.Y,Origin.Z +1), Math.Pi, Origin);
transf.whatMethodHereToGetNewXYZLocationOfPoint?
Once I get the transform, how do I get the new XYZ location of my rotated point?
thanks.
Solved! Go to Solution.