Skip to content

Instantly share code, notes, and snippets.

Mahmoud Sadeghi mahmouxd

  • Austria
Block or report user

Report or block mahmouxd

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View ashape.m
%ASHAPE an ASLIB wrapper to compute ALPHA SHAPEs
% ASHAPE is a convenient wrapper for the
% for instructions/options see also: ASLIB
mahmouxd / alphavol.m
Created Jun 7, 2018
Alpha shape of 2D or 3D point set
View alphavol.m
function [V,S] = alphavol(X,R,fig)
%ALPHAVOL Alpha shape of 2D or 3D point set.
% V = ALPHAVOL(X,R) gives the area or volume V of the basic alpha shape
% for a 2D or 3D point set. X is a coordinate matrix of size Nx2 or Nx3.
% R is the probe radius with default value R = Inf. In the default case
% the basic alpha shape (or alpha hull) is the convex hull.
% [V,S] = ALPHAVOL(X,R) outputs a structure S with fields:
% S.tri - Triangulation of the alpha shape (Mx3 or Mx4)
You can’t perform that action at this time.