コード例 #1
0
ファイル: Body.cs プロジェクト: mblenczewski/StarSim
 /// <summary>
 /// Whether this instance is currently inside the bounds of the given <see cref="Octant"/> instance.
 /// </summary>
 /// <param name="octant">The octant to check.</param>
 /// <returns>Whether this <see cref="Body"/> instance is inside the given <see cref="Octant"/> instance.</returns>
 public bool IsInOctant(Octant octant)
 {
     return(octant.ContainsPoint(position));
 }