Exemplo n.º 1
0
 /// <summary>
 /// Closest point on box (including interior points).
 /// </summary>
 public Point3d ClosestPoint(Box3d box)
 {
     return(box.ClosestPoint(this));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Distance from box to point (zero will be returned for point located inside box)
 /// </summary>
 public double DistanceTo(Box3d box)
 {
     return(box.ClosestPoint(this).DistanceTo(this));
 }