Creating an Object with alphaShape function

조회 수: 1 (최근 30일)
Mücahit Gürbüz
Mücahit Gürbüz 2014년 12월 27일
Hi everyone!
I'm working on a foundation engineering project. Previously, I defined a rock with using alphaShape function with this code;
% My Rock
x = randn(1000,1);
y = randn(1000,1);
z = randn(1000,1);
% Alpha Shape and plot
as = alphaShape(x,y,z,4);
plot(as,'FaceColor',[218 136 86]./255,'EdgeAlpha',0)
title('My Rock')
lighting gouraud
light('Position',[2 -4 2],'Style','local')
And, now I needed to define a geogrid, like in the picture with using alphaShape function.
Thanks for help!

답변 (0개)

카테고리

Help CenterFile Exchange에서 Bounding Regions에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by