예제 #1
0
 /// <summary>
 /// Returns the distance between the specified point and the ceneter point of this circle.
 /// </summary>
 public float DistanceFromCenter(Vector2D point)
 {
     return((point - m_center).Length);
 }
예제 #2
0
 public Circle2D(Vector2D center, float radius)
     : this(center.X, center.Y, radius)
 {
 }