MathGroup Archive 2014

[Date Index] [Thread Index] [Author Index]

Search the Archive

Distance Between a B-Spline Surface & Point

  • To: mathgroup at
  • Subject: [mg132235] Distance Between a B-Spline Surface & Point
  • From: Bill <WDWNORWALK at>
  • Date: Tue, 21 Jan 2014 03:02:48 -0500 (EST)
  • Delivered-to:
  • Delivered-to:
  • Delivered-to:
  • Delivered-to:


My objective: Find the Distance Between a B-Spline Surface and a Point, {2,3,4}. 

(Note: The point {2,3,4}, is not on the B-spline surface.)

Below is the Mathematica 8.0.4. code I used to try and find the closest point on the B-spline surface to the point {2,3,4}:




NMinimize[{(x-2)^2 +(y-3)^2+(z-4)^2<=5 && x==gx && y==gy && z==gz},{x,y,z,u,v}]

Out(Error message.)

Questions: Can this be done using NMinimize? If so, how should this be coded? If not, how can this be done using Mathematica.

Thanks again,

Bill W.

  • Prev by Date: Re: How to show 1+2+3+ ... = -1/12 using Mathematica's symbols?
  • Next by Date: Re: Unnecessary parentheses around TagBox for MakeBoxes?
  • Previous by thread: Re: BSplineSurface & BSplineFunction_Extracting Data
  • Next by thread: Re: Distance Between a B-Spline Surface & Point