      function size = getStackSize(obj)
            size = length(obj.stack);
        end
        
        %% getStack
        % Return the stack. Remember that MATLAB passes by reference until
        % a change is made to the object.
        %
        % *Returns*
        %
        % |s|: the stack for this |PointLayer|
        function s = getStack(obj)
            s = obj.stack;
        end
        
        %% setStack
        % Assign a new stack
        %
        % *Parameters*
        %
        % |s|: