コード例 #1
0
ファイル: ImagePlaneHelper.cs プロジェクト: bangush/server-1
 /// <summary>
 /// Gets the angle between the normals of this image plane and the specified other image plane.
 /// </summary>
 /// <param name="other">The other <see cref="ImagePlaneHelper"/>.</param>
 /// <returns>The angle between the normals of the planes, in radians.</returns>
 public float GetAngleBetween(ImagePlaneHelper other)
 {
     Platform.CheckForNullReference(other, "other");
     return(ImageNormalPatient.GetAngleBetween(other.ImageNormalPatient));
 }
コード例 #2
0
ファイル: ImagePlaneHelper.cs プロジェクト: bangush/server-1
 /// <summary>
 /// Gets whether or not this image plane is orthogonal to the specified other image plane.
 /// </summary>
 /// <param name="other">The other <see cref="ImagePlaneHelper"/>.</param>
 /// <param name="angleToleranceRadians">The angle of tolerance, in radians, for the planes to be considered orthogonal.</param>
 /// <returns>True if the planes are mutually orthogonal; False otherwise.</returns>
 public bool IsOrthogonalTo(ImagePlaneHelper other, float angleToleranceRadians)
 {
     Platform.CheckForNullReference(other, "other");
     return(ImageNormalPatient.IsOrthogonalTo(other.ImageNormalPatient, angleToleranceRadians));
 }