/// <summary>
 /// Rotates this sphere about a point and an axis.
 /// </summary>
 /// <param name="sinAngle">sin(angle)</param>
 /// <param name="cosAngle">cod(angle)</param>
 /// <param name="axisOfRotation">Axis of rotation.</param>
 /// <param name="centerOfRotation">Center of rotation.</param>
 /// <returns>true on success; false on failure.</returns>
 /// <since>5.0</since>
 public bool Rotate(double sinAngle, double cosAngle, Vector3d axisOfRotation, Point3d centerOfRotation)
 {
     return(m_plane.Rotate(sinAngle, cosAngle, axisOfRotation, centerOfRotation));
 }
Exemple #2
0
 /// <summary>
 /// Rotates the circle around an axis that starts at the base plane origin.
 /// </summary>
 /// <param name="sinAngle">The value returned by Math.Sin(angle) to compose the rotation.</param>
 /// <param name="cosAngle">The value returned by Math.Cos(angle) to compose the rotation.</param>
 /// <param name="axis">A rotation axis.</param>
 /// <returns>true on success, false on failure.</returns>
 /// <since>5.0</since>
 public bool Rotate(double sinAngle, double cosAngle, Vector3d axis)
 {
     return(m_plane.Rotate(sinAngle, cosAngle, axis));
 }