File Exchange

image thumbnail

Intersection of Ellipses with Polygon

version 1.0.0 (1.91 KB) by Ayad Al-Rumaithi
Intersection of ellipses with polygon

5 Downloads

Updated 01 Jun 2021

View License

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 (2021). 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 Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!