View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Determination of the minimum distance between two SuperEllipsoids surfaces. Using Optimization

5.0 | 2 ratings Rate this file 25 Downloads (last 30 days) File Size: 912 KB File ID: #40673 Version: 1.1

Determination of the minimum distance between two SuperEllipsoids surfaces. Using Optimization



07 Mar 2013 (Updated )

Optimization method to determine the minimum distance (or max overlap) between two SuperEllipsoids?

| Watch this File

File Information

What´s the minimum distance between two SuperEllipsoids? What's the maximum overlap between two SuperEllipsoids?
A proximity query contact detection between convex superellipsoids surfaces using its implicit equations.
The contact detection of two superellipsoids is formulated as a convex nonlinear constrained optimization problem that is solved using fmincon function, with an Interior Point method. The objective function to be minimized is the distance between both surfaces. The design constraints are the implicit superquadrics surfaces equations and operations between its normal vectors and the distance itself (several constraint sets can be selected). The contact points or the points that minimize the distance between the surfaces are the design variables.
The visualization of the surfaces, the initial estimate and the optimization solution for the minimum distance is provided.

- Portal, Ricardo. Sousa, Luís. Dias, João. "Contact Detection between Convex Superquadric Surfaces". The Archive of Mechanical Engineering. Versita, Warsaw. LVII(2), pp. 165-186, DOI 10.2478/v10180-010-0009-8. 2010.

- Chakraborty, N., J. Peng, et al. (2008). "Proximity Queries Between Convex Objects: An Interior Point Approach for Implicit Surfaces." IEEE Transactions on Robotics: 211-220.


Arrow3 Version 5 inspired this file.

Required Products MATLAB
MATLAB release MATLAB 9.0 (R2016a)
MATLAB Search Path
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (2)
25 May 2014 li

li (view profile)

good work

18 Mar 2013 Daniel Lopes

Daniel Lopes (view profile)

Nice job! The code looks very tidy and neat.

04 Mar 2016 1.1

MathWorks update: Added Live Script.

Contact us