Intersection Arbitrary Ellipsoid and a Plane

This function computes the intersection any Ellipsoid and a Plane,


Updated 27 Jul 2023

View License

% Plane equation AA.x + BB.y + CC.z+ DD = 0
% Standart Ellipsoid equation (x/a)^2 + (y/b)^2 + (z/c)^2 = 1
% Arbitrary Ellipsoid equation Ax^2 + By^2 + Cz^2 +2 Dxy + 2Exz + 2Fyz + 2Gx + 2Hy + 2Iz + J = 0
% Author: Sebahattin Bektas,Ondokuz Mayis University,2015
% Inputs -----------------------------------------------------------------
% Plane=[AA BB CC DD] :Plane equation's coefficients 1x4
% for standard ellipsoid elp must be 1x3 =[a b c]
% for arbitrary ellipsoid elp must be 1x10 =[ A B C D E F G H I J]
% elp=[a b c]: Semi-axes of standart ellipsoid
% or
% elp=[ A B C D E F G H I J]: Arbitrary Ellipsoid coefficient
% Outputs ----------------------------------------------------------------
% Aye: Semi-major axis of intersection ellipse
% Bye: Semi-minor axis of intersection ellipse
% qx,qy,qz : Cartesian coordinates of intersection ellipse's center
% This source code is given for free! However, I would be grateful if you refer
% to corresponding article in any academic publication that uses
% this code or part of it.
% Please refer to:
% BEKTAS, S Orthogonal distance from an ellipsoid. Bol. Ciênc. Geod. [online]. 2014, vol.20, n.4, pp. 970-983. ISSN 1982-2170.
% BEKTAS, S Intersection of an Ellipsoid and a Plane,International Journal of Research in Engineering and Applied Sciences VOLUME 6,ISSUE 6,2016

Cite As

Sebahattin Bektas (2023). Intersection Arbitrary Ellipsoid and a Plane (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2022a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Earth, Ocean, and Atmospheric Sciences in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

Help menu was expanded




expanded for arbitrary ellipsoid

figures added