reorganized code into separate files

This commit is contained in:
kdee committed 2025-11-18 09:08:12 -08:00
1 parent 4363914215
commit e0f365b21b
203 files changed
+1413 -1101

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
function c = contains(obj, pos)
arguments (Input)
obj (1, 1) {mustBeA(obj, 'rectangularPrism')};
pos (:, 3) double;
end
arguments (Output)
c (:, 1) logical
end
c = all(pos >= repmat(obj.minCorner, size(pos, 1), 1), 2) & all(pos <= repmat(obj.maxCorner, size(pos, 1), 1), 2);
end