Example #1
0
        public Point3D Rotate(UnitVector3D aboutVector, Angle angle)
        {
            var cs = CoordinateSystem.Rotation(angle, aboutVector);

            return(cs.Transform(this));
        }
Example #2
0
 /// <summary>
 /// Returns a vector that is this vector rotated the signed angle around the about vector
 /// </summary>
 /// <param name="about"></param>
 /// <param name="angle"></param>
 /// <returns></returns>
 public Vector3D Rotate(UnitVector3D about, Angle angle)
 {
     var cs = CoordinateSystem.Rotation(angle, about);
     return cs.Transform(this);
 }