Skip to content

Instantly share code, notes, and snippets.

@tpietzsch
Created April 3, 2016 19:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tpietzsch/5889189fac9e3904d429d4c651c302ba to your computer and use it in GitHub Desktop.
Save tpietzsch/5889189fac9e3904d429d4c651c302ba to your computer and use it in GitHub Desktop.
/**
* This is an adaption of the algorithm described in <a href=
* "http://www.geometrictools.com/Documentation/DistancePointEllipseEllipsoid.pdf">
* "Distance from a Point to an Ellipse, an Ellipsoid, or a Hyperellipsoid" by
* David Eberly</a> and available as a C++ implementation from
* <a href="http://www.geometrictools.com">www.geometrictools.com</a> under the
* <a href="http://www.boost.org/LICENSE_1_0.txt">Boost License</a>
*
* @author Tobias Pietzsch &lt;tobias.pietzsch@gmail.com&gt;
*/
public class DistPointHyperEllipsoid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment