Ellipsoid Triangulation and Cropping

Ellipsoid triangulation and cropping
5 téléchargements
Mise à jour 6 oct. 2023

Afficher la licence

This function generates triangulation for an ellipsoid from icosahedron and crops the triangulation inside a box. Example file is provided.
function [VV,FF]=Crop_Ellipsoid_Triangulation(x,y,z,Ellipsoid,N)
Input:
x=[x1 x2]: x boundaries of the box
y=[y1 y2]: y boundaries of the box
z=[z1 z2]: z boundaries of the box
Ellipsoid is (1*9) array. each cell represent:
(1): radius of ellipsoids at direction 1
(2): radius of ellipsoids at direction 2
(3): radius of ellipsoids at direction 3
(4): x-cooridante of centroid
(5): y-coordinate of centroid
(6): z-coordinate of centroid
(7): Inclination angle 1
(8): Inclination angle 2
(9): Inclination angle 3
N: frequency of subdivison
Output:
VV: vertices matrix
FF: faces matrix

Citation pour cette source

Ayad Al-Rumaithi (2024). Ellipsoid Triangulation and Cropping (https://www.mathworks.com/matlabcentral/fileexchange/136274-ellipsoid-triangulation-and-cropping), MATLAB Central File Exchange. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R2017b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Tags Ajouter des tags

Community Treasure Hunt

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

Start Hunting!
Version Publié le Notes de version
1.0.1

Modified the code

1.0.0