Intersection of Ellipses with Polygon
Version 1.0.1 (1.91 KB) by
Ayad Al-Rumaithi
Intersection of ellipses with polygon
This function finds the intersection of ellipses with polygon. An example file is provided for that.
Input:
Ellipses: (NEllipses*5) array. each column represent:
(:,1): radius of ellipses at direction 1
(:,2): radius of ellipses at direction 2
(:,3): x-cooridante of centroid
(:,4): y-coordinate of centroid
(:,5): Inclination angle
L: Approximate segement length of discretization
x,y: Polygon vertices vectors
Output:
EllipsePoly: a cell array where EllipsePoly{i} is a polyshape object of ith ellipse
Cite As
Ayad Al-Rumaithi (2024). Intersection of Ellipses with Polygon (https://www.mathworks.com/matlabcentral/fileexchange/93270-intersection-of-ellipses-with-polygon), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2017b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.