Implemented the 'triangulateObjects' method, though it cannot be tested until 'triangulateMatrix' is ready.