12 lines
232 B
Mathematica
12 lines
232 B
Mathematica
|
|
function p=minus(p1,p2)
|
||
|
|
% minus - find the differences in two ppoly objects
|
||
|
|
%
|
||
|
|
% p=p1-p2
|
||
|
|
%
|
||
|
|
% p, p1, p2 - ppoly objects
|
||
|
|
|
||
|
|
% Copyright (c) Dingyu Xue, Northeastern University, China
|
||
|
|
% Last modified 18 May, 2022
|
||
|
|
p=p1+(-p2);
|
||
|
|
end
|